Class DelayedLogEntryImpl2

  • All Implemented Interfaces:
    io.deephaven.base.log.LogOutput, LogEntry, LogSink.Element

    public class DelayedLogEntryImpl2
    extends java.lang.Object
    implements LogEntry
    • Constructor Detail

      • DelayedLogEntryImpl2

        public DelayedLogEntryImpl2​(io.deephaven.base.pool.Pool<java.nio.ByteBuffer> bufferPool)
    • Method Detail

      • 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 logSink,
                              LogLevel level)
        Notifies us that the log driver has given this instance out as a new entry
        Specified by:
        start in interface LogEntry
      • 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​(java.lang.CharSequence seq)
        Specified by:
        append in interface LogEntry
        Specified by:
        append in interface io.deephaven.base.log.LogOutput
      • append

        public LogEntry append​(java.lang.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​(java.nio.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​(java.lang.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 java.nio.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