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 void
clear()
Clears the currently held statistics.void
disableMonitoring()
Disable monitoring.void
enableMonitoring()
Enables monitoring.boolean
isMonitoringEnabled()
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.
-
-