@Internal
public interface ConfluenceMonitoringControl
ConfluenceMonitoring
implementations. This is to break the dependency of ConflueneMonitoring
from whatever mechanism is used to control the monitoring.
Notes:
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the currently held statistics.
|
void |
disableCpuTiming()
Disable capturing CPU timing.
|
void |
disableHibernateMonitoring()
Disable Hibernate monitoring.
|
void |
disableMonitoring()
Disable monitoring.
|
void |
enableCpuTiming()
Enable capturing CPU timing.
|
void |
enableHibernateMonitoring()
Enables Hibernate monitoring.
|
void |
enableMonitoring()
Enables monitoring.
|
boolean |
isCpuTimingEnabled() |
boolean |
isMonitoringEnabled() |
List<CounterSnapshot> |
snapshotCounters()
Returns a snapshot of the counters.
|
List<TimerSnapshot> |
snapshotTimers()
Returns a snapshot of the timers.
|
boolean isMonitoringEnabled()
void enableMonitoring()
void disableMonitoring()
boolean isCpuTimingEnabled()
void enableCpuTiming()
WARNING: turning on CPU timing will adversly impact on system performance. Do not do this on production systems without due consideration.
void disableCpuTiming()
void enableHibernateMonitoring()
void disableHibernateMonitoring()
void clear()
@Nonnull List<CounterSnapshot> snapshotCounters()
@Nonnull List<TimerSnapshot> snapshotTimers()
Copyright © 2003–2016 Atlassian. All rights reserved.