Class LatencyMetricsEvent<I extends LatencyMetricsIdentifier>
java.lang.Object
com.couchbase.client.core.event.metrics.LatencyMetricsEvent<I>
- All Implemented Interfaces:
CouchbaseEvent
- Direct Known Subclasses:
NetworkLatencyMetricsEvent
public abstract class LatencyMetricsEvent<I extends LatencyMetricsIdentifier> extends Object implements CouchbaseEvent
A common base class for latency metric events.
- Since:
- 1.2.0
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description LatencyMetricsEvent(Map<I,LatencyMetric> latencies)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.couchbase.client.core.event.CouchbaseEvent
toMap
-
Constructor Details
-
LatencyMetricsEvent
-
-
Method Details
-
latencies
Returns all latency metrics per unique identifier. -
type
Description copied from interface:CouchbaseEvent
The type of the event.- Specified by:
type
in interfaceCouchbaseEvent
- Returns:
- the event type.
-
toString
-