Class ServerStateLoggerCoreV2.RowEncoder

java.lang.Object
io.deephaven.enterprise.binlog.internal.gen.ServerStateLoggerCoreV2.RowEncoder
Enclosing class:
ServerStateLoggerCoreV2

public static final class ServerStateLoggerCoreV2.RowEncoder extends Object
The row encoder. Not thread safe.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encode(ByteBuffer buffer, byte flags, long IntervalStartTime, int IntervalDurationMicros, int TotalMemoryMiB, int FreeMemoryMiB, short IntervalCollections, int IntervalCollectionTimeMicros, short IntervalUGPCyclesOnBudget, int[] IntervalUGPCyclesTimeMicros, short IntervalUGPCyclesSafePoints, int IntervalUGPCyclesSafePointTimeMicros)
    Populates the buffer with the parameter values.
    of()
    Constructs a row encoder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      Constructs a row encoder. Not thread safe.
    • encode

      public void encode(ByteBuffer buffer, byte flags, long IntervalStartTime, int IntervalDurationMicros, int TotalMemoryMiB, int FreeMemoryMiB, short IntervalCollections, int IntervalCollectionTimeMicros, short IntervalUGPCyclesOnBudget, int[] IntervalUGPCyclesTimeMicros, short IntervalUGPCyclesSafePoints, int IntervalUGPCyclesSafePointTimeMicros)
      Populates the buffer with the parameter values. The buffer is assumed to have at least 1 MiB remaining.
      Parameters:
      buffer - the buffer
      flags - the flags for this row, which start and end transactions
      IntervalStartTime - the IntervalStartTime value, in millis from the epoch
      IntervalDurationMicros - the IntervalDurationMicros value
      TotalMemoryMiB - the TotalMemoryMiB value
      FreeMemoryMiB - the FreeMemoryMiB value
      IntervalCollections - the IntervalCollections value
      IntervalCollectionTimeMicros - the IntervalCollectionTimeMicros value
      IntervalUGPCyclesOnBudget - the IntervalUGPCyclesOnBudget value
      IntervalUGPCyclesTimeMicros - the IntervalUGPCyclesTimeMicros value
      IntervalUGPCyclesSafePoints - the IntervalUGPCyclesSafePoints value
      IntervalUGPCyclesSafePointTimeMicros - the IntervalUGPCyclesSafePointTimeMicros value