Class ProcessMetricsLoggerCoreV2.RowEncoder

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

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

    • of

      Constructs a row encoder. Not thread safe.
    • encode

      public void encode(ByteBuffer buffer, byte flags, long Timestamp, String Name, String Interval, String Type, long N, long Sum, long Last, long Min, long Max, long Avg, long Sum2, long Stdev)
      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
      Timestamp - the Timestamp value, in millis from the epoch
      Name - the Name value
      Interval - the Interval value
      Type - the Type value
      N - the N value
      Sum - the Sum value
      Last - the Last value
      Min - the Min value
      Max - the Max value
      Avg - the Avg value
      Sum2 - the Sum2 value
      Stdev - the Stdev value