Class Alerts
java.lang.Object
com.atlassian.diagnostics.internal.jmx.Alerts
- All Implemented Interfaces:
AlertsMXBean
- Direct Known Subclasses:
PluginAlerts
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Alerts
public Alerts()
-
-
Method Details
-
getErrorCount
public long getErrorCount()- Specified by:
getErrorCountin interfaceAlertsMXBean- Returns:
- the number of alerts of severity ERROR since the JVM was started
-
getInfoCount
public long getInfoCount()- Specified by:
getInfoCountin interfaceAlertsMXBean- Returns:
- the number of alerts of severity INFO since the JVM was started
-
getLatestAlertTimestamp
- Specified by:
getLatestAlertTimestampin interfaceAlertsMXBean- Returns:
- the timestamp of the most recent alert
-
getTotalCount
public long getTotalCount()- Specified by:
getTotalCountin interfaceAlertsMXBean- Returns:
- the total number of alerts since the JVM was started
-
getWarningCount
public long getWarningCount()- Specified by:
getWarningCountin interfaceAlertsMXBean- Returns:
- the number of alerts of severity WARNING since the JVM was started
-
reset
public void reset()Description copied from interface:AlertsMXBean- Specified by:
resetin interfaceAlertsMXBean
-