Enum Class BarrageSubscriptionPerformanceSink.Noop

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

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

  • Method Details

    • values

      public static BarrageSubscriptionPerformanceSink.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 BarrageSubscriptionPerformanceSink.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, String statType, long timestampEpochNanos, org.HdrHistogram.Histogram hist)
      Description copied from interface: BarrageSubscriptionPerformanceSink
      Record the statistics accumulated for a single (subscription, statistic) pair over one flush cycle.

      hist is owned by the caller and is reset and reused for the next cycle as soon as this method returns; an implementation must extract everything it needs before returning, and must not retain a reference to it. Copy it if the values are needed later.

      Specified by:
      log in interface BarrageSubscriptionPerformanceSink
      Parameters:
      tableId - the identity of the subscribed table
      tableKey - the barrage performance key of the subscribed table
      statType - which statistic this entry describes, for example "WriteNanos"; see BarrageSubscriptionPerformanceLogger.StatType
      timestampEpochNanos - the time at which this cycle was flushed, as nanoseconds since the epoch
      hist - the values recorded during this cycle, in the unit named by statType