Class PausesDetectedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.diagnostics.PausesDetectedEvent
-
- All Implemented Interfaces:
Event
public class PausesDetectedEvent extends AbstractEvent
When the analyzer detects a JVM pause, an event will be raised.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
-
Field Summary
-
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description PausesDetectedEvent(Event.Severity severity, Context context, com.couchbase.client.core.deps.org.HdrHistogram.Histogram histogram)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
collectionDuration()
String
description()
A textual description with more information about the event.long
maxValue()
long
totalCount()
long
valueAtPercentile(double p)
-
-
-
Constructor Detail
-
PausesDetectedEvent
public PausesDetectedEvent(Event.Severity severity, Context context, com.couchbase.client.core.deps.org.HdrHistogram.Histogram histogram)
-
-
Method Detail
-
totalCount
public long totalCount()
-
valueAtPercentile
public long valueAtPercentile(double p)
-
maxValue
public long maxValue()
-
collectionDuration
public Duration collectionDuration()
-
-