public interface LatencyMetricsCollector<I extends LatencyMetricsIdentifier> extends MetricsCollector
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, triggerEmit
void record(I identifier, long latency)
identifier
- the unique identifier to use.latency
- the latency to record for it.LatencyMetricsCollectorConfig config()
MetricsCollector
config
in interface MetricsCollector
Copyright © 2021 Couchbase, Inc.. All rights reserved.