public abstract class LatencyMetricsEvent<I extends LatencyMetricsIdentifier> extends Object implements CouchbaseEvent
A common base class for latency metric events.
Constructor and Description |
---|
LatencyMetricsEvent(Map<I,LatencyMetric> latencies) |
Modifier and Type | Method and Description |
---|---|
Map<I,LatencyMetric> |
latencies()
Returns all latency metrics per unique identifier.
|
String |
toString() |
EventType |
type()
The type of the event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toMap
public LatencyMetricsEvent(Map<I,LatencyMetric> latencies)
public Map<I,LatencyMetric> latencies()
Returns all latency metrics per unique identifier.
public EventType type()
CouchbaseEvent
The type of the event.
type
in interface CouchbaseEvent
Copyright © 2017 Couchbase, Inc.. All rights reserved.