Enum Class BarrageSnapshotPerformanceSink.Noop

java.lang.Object
java.lang.Enum<BarrageSnapshotPerformanceSink.Noop>
io.deephaven.extensions.barrage.BarrageSnapshotPerformanceSink.Noop
All Implemented Interfaces:
BarrageSnapshotPerformanceSink, Serializable, Comparable<BarrageSnapshotPerformanceSink.Noop>, java.lang.constant.Constable
Enclosing interface:
BarrageSnapshotPerformanceSink

public static enum BarrageSnapshotPerformanceSink.Noop extends Enum<BarrageSnapshotPerformanceSink.Noop> implements BarrageSnapshotPerformanceSink
  • Enum Constant Details

  • Method Details

    • values

      public static BarrageSnapshotPerformanceSink.Noop[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BarrageSnapshotPerformanceSink.Noop valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • log

      public void log(String tableId, String tableKey, long requestTimeEpochNanos, long queueNanos, long snapshotNanos, long writeNanos, long bytesWritten)
      Description copied from interface: BarrageSnapshotPerformanceSink
      Record the cost of serving a single snapshot request.
      Specified by:
      log in interface BarrageSnapshotPerformanceSink
      Parameters:
      tableId - the identity of the snapshotted table
      tableKey - the barrage performance key of the snapshotted table
      requestTimeEpochNanos - the time at which the request was received, as nanoseconds since the epoch
      queueNanos - the time the request spent queued before being serviced
      snapshotNanos - the time spent constructing the snapshot
      writeNanos - the time spent writing the snapshot
      bytesWritten - the number of bytes written