public class LatencyRecorder<T extends java.lang.Enum<T>> extends AbstractMetrics<T> implements WritableLatency<T>, Recorder<PartitionedLatency<T>>
clazz| Constructor and Description |
|---|
LatencyRecorder(MetricRecorder<PartitionedLatency<T>> metricRecorder) |
| Modifier and Type | Method and Description |
|---|---|
PartitionedLatency<T> |
activeInterval() |
long |
activeIntervalStart() |
static <T extends java.lang.Enum<T>> |
builder(java.lang.Class<T> clazz) |
PartitionedLatency<T> |
captureInterval() |
PartitionedLatency<T> |
captureInterval(long nanotime) |
PartitionedLatency<T> |
captureInterval(PartitionedLatency<T> newInterval) |
PartitionedLatency<T> |
captureInterval(PartitionedLatency<T> newInterval,
long nanoTime) |
void |
write(T metric,
long number,
long nanoLatency,
long nanoTime) |
getMetricClazzclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricClazzpublic LatencyRecorder(MetricRecorder<PartitionedLatency<T>> metricRecorder)
public void write(T metric, long number, long nanoLatency, long nanoTime)
write in interface WritableLatency<T extends java.lang.Enum<T>>public PartitionedLatency<T> activeInterval()
activeInterval in interface Recorder<PartitionedLatency<T extends java.lang.Enum<T>>>public long activeIntervalStart()
activeIntervalStart in interface Recorder<PartitionedLatency<T extends java.lang.Enum<T>>>public PartitionedLatency<T> captureInterval()
captureInterval in interface Recorder<PartitionedLatency<T extends java.lang.Enum<T>>>public PartitionedLatency<T> captureInterval(long nanotime)
captureInterval in interface Recorder<PartitionedLatency<T extends java.lang.Enum<T>>>public PartitionedLatency<T> captureInterval(PartitionedLatency<T> newInterval)
captureInterval in interface Recorder<PartitionedLatency<T extends java.lang.Enum<T>>>public PartitionedLatency<T> captureInterval(PartitionedLatency<T> newInterval, long nanoTime)
captureInterval in interface Recorder<PartitionedLatency<T extends java.lang.Enum<T>>>public static <T extends java.lang.Enum<T>> LatencyRecorderBuilder<T> builder(java.lang.Class<T> clazz)
Copyright © 2014 Tim Brooks. All Rights Reserved.