Class PauseAnalyzer
- java.lang.Object
-
- com.couchbase.client.core.cnc.diagnostics.PauseAnalyzer
-
- All Implemented Interfaces:
Analyzer
,com.couchbase.client.core.deps.org.LatencyUtils.PauseDetectorListener
public class PauseAnalyzer extends Object implements com.couchbase.client.core.deps.org.LatencyUtils.PauseDetectorListener, Analyzer
Analyzes JVM pauses by utilizing the greatPauseDetector
from LatencyUtils.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description PauseAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PausesDetectedEvent
fetchEvent(Event.Severity severity, Context context)
void
handlePauseEvent(long pauseLength, long pauseEndTime)
Mono<Void>
start()
Mono<Void>
stop()
-
-
-
Method Detail
-
fetchEvent
public PausesDetectedEvent fetchEvent(Event.Severity severity, Context context)
- Specified by:
fetchEvent
in interfaceAnalyzer
-
handlePauseEvent
public void handlePauseEvent(long pauseLength, long pauseEndTime)
- Specified by:
handlePauseEvent
in interfacecom.couchbase.client.core.deps.org.LatencyUtils.PauseDetectorListener
-
-