Package io.deephaven.extensions.barrage
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
-
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.BarrageSnapshotPerformanceSink
BarrageSnapshotPerformanceSink.Noop -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidlog(String tableId, String tableKey, long requestTimeEpochNanos, long queueNanos, long snapshotNanos, long writeNanos, long bytesWritten) Record the cost of serving a single snapshot request.Returns the enum constant of this class with the specified name.static BarrageSnapshotPerformanceSink.Noop[]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, long requestTimeEpochNanos, long queueNanos, long snapshotNanos, long writeNanos, long bytesWritten) Description copied from interface:BarrageSnapshotPerformanceSinkRecord the cost of serving a single snapshot request.- Specified by:
login interfaceBarrageSnapshotPerformanceSink- Parameters:
tableId- the identity of the snapshotted tabletableKey- the barrage performance key of the snapshotted tablerequestTimeEpochNanos- the time at which the request was received, as nanoseconds since the epochqueueNanos- the time the request spent queued before being servicedsnapshotNanos- the time spent constructing the snapshotwriteNanos- the time spent writing the snapshotbytesWritten- the number of bytes written
-