Interface AlertsMXBean

All Known Subinterfaces:
PluginAlertsMXBean
All Known Implementing Classes:
Alerts, PluginAlerts

public interface AlertsMXBean
MX Bean that exposes alert counts, broken down by severity since the JVM was started
  • Method Details

    • getErrorCount

      long getErrorCount()
      Returns:
      the number of alerts of severity ERROR since the JVM was started
    • getInfoCount

      long getInfoCount()
      Returns:
      the number of alerts of severity INFO since the JVM was started
    • getLatestAlertTimestamp

      @Nullable Date getLatestAlertTimestamp()
      Returns:
      the timestamp of the most recent alert
    • getTotalCount

      long getTotalCount()
      Returns:
      the total number of alerts since the JVM was started
    • getWarningCount

      long getWarningCount()
      Returns:
      the number of alerts of severity WARNING since the JVM was started
    • reset

      void reset()
      Clears the info, getWarningCount() and error counts and the latestAlertTimestamps