public interface LatencyMetricsCollector<I extends LatencyMetricsIdentifier> extends MetricsCollector
A collector which collects and emits latency measurements.
| Modifier and Type | Method and Description |
|---|---|
LatencyMetricsCollectorConfig |
config()
Its high-level configuration.
|
void |
record(I identifier,
long latency)
Records a latency for the given identifier.
|
isEnabled, shutdown, triggerEmitvoid record(I identifier, long latency)
Records a latency for the given identifier.
identifier - the unique identifier to use.latency - the latency to record for it.LatencyMetricsCollectorConfig config()
MetricsCollectorIts high-level configuration.
config in interface MetricsCollectorCopyright © 2016 Couchbase, Inc.. All rights reserved.