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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Clears the currently held statistics.voiddisableMonitoring()Disable monitoring.voidenableMonitoring()Enables monitoring.booleanisMonitoringEnabled()Check instrument registry is enable or not-
Methods inherited from interface com.atlassian.instrumentation.InstrumentRegistry
getInstrument, getNumberOfInstruments, getRegistryConfiguration, pullAbsoluteCounter, pullCacheCollector, pullCacheCollector, pullCacheCounter, pullCacheCounter, pullCounter, pullDerivedCounter, pullGauge, pullOpCounter, pullTimer, putInstrument, snapshotInstruments
-
-
-
-
Method Detail
-
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.
-
-