Interface ControllableInstrumentRegistry
- All Superinterfaces:
com.atlassian.instrumentation.InstrumentRegistry
- All Known Implementing Classes:
ConfluenceInstrumentRegistry
public interface ControllableInstrumentRegistry
extends com.atlassian.instrumentation.InstrumentRegistry
- Since:
- 6.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the currently held statistics.void
Disable monitoring.void
Enables monitoring.boolean
Check instrument registry is enable or notMethods inherited from interface com.atlassian.instrumentation.InstrumentRegistry
getInstrument, getNumberOfInstruments, getRegistryConfiguration, pullAbsoluteCounter, pullCacheCollector, pullCacheCollector, pullCacheCounter, pullCacheCounter, pullCounter, pullDerivedCounter, pullGauge, pullOpCounter, pullTimer, putInstrument, snapshotInstruments
-
Method Details
-
isMonitoringEnabled
boolean isMonitoringEnabled()Check instrument registry is enable or not- Returns:
-
enableMonitoring
void enableMonitoring()Enables monitoring. It does not effect whether CPU timing is enabled. -
disableMonitoring
void disableMonitoring()Disable monitoring. It does not effect whether CPU timing is enabled. -
clear
void clear()Clears the currently held statistics.
-