Package io.deephaven.extensions.barrage
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface io.deephaven.extensions.barrage.BarrageSubscriptionPerformanceSink
BarrageSubscriptionPerformanceSink.Noop -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidlog(String tableId, String tableKey, String statType, long timestampEpochNanos, org.HdrHistogram.Histogram hist) Record the statistics accumulated for a single (subscription, statistic) pair over one flush cycle.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
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
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 nameNullPointerException- 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:BarrageSubscriptionPerformanceSinkRecord the statistics accumulated for a single (subscription, statistic) pair over one flush cycle.histis owned by the caller and isresetand 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.Copyit if the values are needed later.- Specified by:
login interfaceBarrageSubscriptionPerformanceSink- Parameters:
tableId- the identity of the subscribed tabletableKey- the barrage performance key of the subscribed tablestatType- which statistic this entry describes, for example"WriteNanos"; seeBarrageSubscriptionPerformanceLogger.StatTypetimestampEpochNanos- the time at which this cycle was flushed, as nanoseconds since the epochhist- the values recorded during this cycle, in the unit named bystatType
-