Class DelayedLogEntryImpl

java.lang.Object
io.deephaven.io.log.impl.DelayedLogEntryImpl
All Implemented Interfaces:
io.deephaven.base.log.LogOutput, LogEntry, LogSink.Element

public class DelayedLogEntryImpl extends Object implements LogEntry
  • Constructor Details

  • Method Details

    • getDifferenceInStartToEnds

      public static long getDifferenceInStartToEnds()
    • markEndOfHeader

      public io.deephaven.base.log.LogOutput markEndOfHeader()
      Specified by:
      markEndOfHeader in interface io.deephaven.base.log.LogOutput
    • getEndOfHeaderOffset

      public int getEndOfHeaderOffset()
      Specified by:
      getEndOfHeaderOffset in interface io.deephaven.base.log.LogOutput
    • start

      public LogEntry start(LogSink sink, LogLevel level)
      Notifies us that the log driver has given this instance out as a new entry
      Specified by:
      start in interface LogEntry
    • start

      public LogEntry start(LogSink sink, LogLevel level, long currentTimeMicros)
      Specified by:
      start in interface LogEntry
    • start

      public LogEntry start(LogSink sink, LogLevel level, long currentTimeMicros, Throwable t)
      Specified by:
      start in interface LogEntry
    • end

      public void end()
      Description copied from interface: LogEntry
      Completes the log entry. Callers should not use this after completion. End or LogEntry.endl() should be called exactly once.
      Specified by:
      end in interface LogEntry
    • endl

      public void endl()
      Description copied from interface: LogEntry
      Completes the log entry with a newline. Callers should not use this after completion. Endl or LogEntry.end() should be called exactly once.
      Specified by:
      endl in interface LogEntry
    • getTimestampMicros

      public long getTimestampMicros()
      Specified by:
      getTimestampMicros in interface LogSink.Element
    • getLevel

      public LogLevel getLevel()
      Specified by:
      getLevel in interface LogSink.Element
    • getThrowable

      public Throwable getThrowable()
      Specified by:
      getThrowable in interface LogSink.Element
    • writing

      public io.deephaven.base.log.LogOutput writing(io.deephaven.base.log.LogOutput outputBuffer)
      Specified by:
      writing in interface LogSink.Element
    • written

      public void written(io.deephaven.base.log.LogOutput outputBuffer)
      Specified by:
      written in interface LogSink.Element
    • append

      public LogEntry append(boolean b)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(char c)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(short s)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(int i)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(long l)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • appendDouble

      public LogEntry appendDouble(double f)
      Specified by:
      appendDouble in interface LogEntry
      Specified by:
      appendDouble in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(io.deephaven.base.log.LogOutputAppendable appendable)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(io.deephaven.base.log.LogOutput.LongFormatter formatter, long n)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public <T> LogEntry append(io.deephaven.base.log.LogOutput.ObjFormatter<T> objFormatter, T t)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public <T> LogEntry append(io.deephaven.base.log.LogOutput.ObjIntIntFormatter<T> objFormatter, T t, int nOffset, int nLength)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public <T, U> LogEntry append(io.deephaven.base.log.LogOutput.ObjObjFormatter<T,U> objObjFormatter, T t, U u)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(CharSequence seq)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(CharSequence seq, int start, int length)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(ByteBuffer bb)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • appendTimestamp

      public LogEntry appendTimestamp(long utcMillis, io.deephaven.base.text.TimestampBuffer tb)
      Specified by:
      appendTimestamp in interface LogEntry
      Specified by:
      appendTimestamp in interface io.deephaven.base.log.LogOutput
    • appendTimestampMicros

      public LogEntry appendTimestampMicros(long utcMicros, io.deephaven.base.text.TimestampBufferMicros tb)
      Specified by:
      appendTimestampMicros in interface LogEntry
      Specified by:
      appendTimestampMicros in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(Throwable t)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(byte[] ba)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(byte[] ba, int pos, int length)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • append

      public LogEntry append(byte[] ba, byte terminator)
      Specified by:
      append in interface LogEntry
      Specified by:
      append in interface io.deephaven.base.log.LogOutput
    • nf

      public LogEntry nf()
      Specified by:
      nf in interface LogEntry
      Specified by:
      nf in interface io.deephaven.base.log.LogOutput
    • nl

      public LogEntry nl()
      Specified by:
      nl in interface LogEntry
      Specified by:
      nl in interface io.deephaven.base.log.LogOutput
    • relativeSize

      public int relativeSize()
      Specified by:
      relativeSize in interface io.deephaven.base.log.LogOutput
    • start

      public io.deephaven.base.log.LogOutput start()
      Specified by:
      start in interface io.deephaven.base.log.LogOutput
    • close

      public io.deephaven.base.log.LogOutput close()
      Specified by:
      close in interface io.deephaven.base.log.LogOutput
    • size

      public int size()
      Specified by:
      size in interface io.deephaven.base.log.LogOutput
    • getBufferCount

      public int getBufferCount()
      Specified by:
      getBufferCount in interface io.deephaven.base.log.LogOutput
    • getBuffer

      public ByteBuffer getBuffer(int i)
      Specified by:
      getBuffer in interface io.deephaven.base.log.LogOutput
    • clear

      public LogEntry clear()
      Specified by:
      clear in interface io.deephaven.base.log.LogOutput