Class GaugeMonitorEntry

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.GaugeMonitorEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IndicatorGaugeMonitorEntry, NumericGaugeMonitorEntry

This class defines the base class for gauge monitor entries, which provide information common to all types of gauges. Subclasses may provide more specific information for that specific type of gauge.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
See Also:
  • Constructor Details

    • GaugeMonitorEntry

      Creates a new gauge monitor entry from the provided entry.
      Parameters:
      entry - The entry to be parsed as a gauge monitor entry. It must not be null.
  • Method Details

    • getGaugeName

      @Nullable public final String getGaugeName()
      Retrieves the name for the gauge, if available.
      Returns:
      The name for the gauge, or null if it was not included in the monitor entry.
    • getResource

      @Nullable public final String getResource()
      Retrieves the resource for the gauge, if available.
      Returns:
      The resource for the gauge, or null if it was not included in the monitor entry.
    • getResourceType

      Retrieves the resource type for the gauge, if available.
      Returns:
      The resource type for the gauge, or null if it was not included in the monitor entry.
    • getCurrentSeverity

      Retrieves the current severity for the gauge, if available.
      Returns:
      The current severity for the gauge, or null if it was not included in the monitor entry.
    • getPreviousSeverity

      Retrieves the previous severity for the gauge, if available.
      Returns:
      The previous severity for the gauge, or null if it was not included in the monitor entry.
    • getSummary

      @Nullable public final String getSummary()
      Retrieves the summary message for the gauge, if available.
      Returns:
      The summary message for the gauge, or null if it was not included in the monitor entry.
    • getErrorMessages

      Retrieves the error messages for the gauge, if available.
      Returns:
      The list of error messages for the gauge, or an empty list if it was not included in the monitor entry.
    • getInitTime

      @Nullable public final Date getInitTime()
      Retrieves the time the gauge was initialized, if available.
      Returns:
      The time the gauge was initialized, or null if it was not included in the monitor entry.
    • getUpdateTime

      @Nullable public final Date getUpdateTime()
      Retrieves the time the gauge was last updated, if available.
      Returns:
      The time the gauge was last updated, or null if it was not included in the monitor entry.
    • getSamplesThisInterval

      Retrieves the number of samples taken in the current interval, if available.
      Returns:
      The number of samples taken in the current interval, or null if it was not included in the monitor entry.
    • getCurrentSeverityStartTime

      Retrieves the time the gauge entered the current severity, if available.
      Returns:
      The time the gauge entered the current severity, or null if it was not included in the monitor entry.
    • getCurrentSeverityDurationString

      Retrieves the current severity duration as a human-readable string, if available.
      Returns:
      The current severity duration as a human-readable string, or null if it was not included in the monitor entry.
    • getCurrentSeverityDurationMillis

      Retrieves the current severity duration in milliseconds, if available.
      Returns:
      The current severity duration in milliseconds, or null if it was not included in the monitor entry.
    • getLastNormalStateStartTime

      Retrieves the time the gauge last entered the normal state, if available.
      Returns:
      The time the gauge last entered the normal state, or null if it was not included in the monitor entry.
    • getLastNormalStateEndTime

      Retrieves the time the gauge last exited the normal state, if available.
      Returns:
      The time the gauge last exited the normal state, or null if it was not included in the monitor entry.
    • getLastNormalStateDurationString

      Retrieves the duration of the last normal state as a human-readable string, if available.
      Returns:
      The duration of the last normal state as a human-readable string, or null if it was not included in the monitor entry.
    • getLastNormalStateDurationMillis

      Retrieves the duration of the last normal state in milliseconds, if available.
      Returns:
      The duration of the last normal state in milliseconds, or null if it was not included in the monitor entry.
    • getTotalNormalStateDurationString

      Retrieves the total length of time the gauge has been in the normal state as a human-readable string, if available.
      Returns:
      The total length of time the gauge has been in the normal state as a human-readable string, or null if it was not included in the monitor entry.
    • getTotalNormalStateDurationMillis

      Retrieves the total length of time the gauge has been in the normal state in milliseconds, if available.
      Returns:
      The total length of time the gauge has been in the normal state in milliseconds, or null if it was not included in the monitor entry.
    • getLastWarningStateStartTime

      Retrieves the time the gauge last entered the warning state, if available.
      Returns:
      The time the gauge last entered the warning state, or null if it was not included in the monitor entry.
    • getLastWarningStateEndTime

      Retrieves the time the gauge last exited the warning state, if available.
      Returns:
      The time the gauge last exited the warning state, or null if it was not included in the monitor entry.
    • getLastWarningStateDurationString

      Retrieves the duration of the last warning state as a human-readable string, if available.
      Returns:
      The duration of the last warning state as a human-readable string, or null if it was not included in the monitor entry.
    • getLastWarningStateDurationMillis

      Retrieves the duration of the last warning state in milliseconds, if available.
      Returns:
      The duration of the last warning state in milliseconds, or null if it was not included in the monitor entry.
    • getTotalWarningStateDurationString

      Retrieves the total length of time the gauge has been in the warning state as a human-readable string, if available.
      Returns:
      The total length of time the gauge has been in the warning state as a human-readable string, or null if it was not included in the monitor entry.
    • getTotalWarningStateDurationMillis

      Retrieves the total length of time the gauge has been in the warning state in milliseconds, if available.
      Returns:
      The total length of time the gauge has been in the warning state in milliseconds, or null if it was not included in the monitor entry.
    • getLastMinorStateStartTime

      Retrieves the time the gauge last entered the minor state, if available.
      Returns:
      The time the gauge last entered the minor state, or null if it was not included in the monitor entry.
    • getLastMinorStateEndTime

      Retrieves the time the gauge last exited the minor state, if available.
      Returns:
      The time the gauge last exited the minor state, or null if it was not included in the monitor entry.
    • getLastMinorStateDurationString

      Retrieves the duration of the last minor state as a human-readable string, if available.
      Returns:
      The duration of the last minor state as a human-readable string, or null if it was not included in the monitor entry.
    • getLastMinorStateDurationMillis

      Retrieves the duration of the last minor state in milliseconds, if available.
      Returns:
      The duration of the last minor state in milliseconds, or null if it was not included in the monitor entry.
    • getTotalMinorStateDurationString

      Retrieves the total length of time the gauge has been in the minor state as a human-readable string, if available.
      Returns:
      The total length of time the gauge has been in the minor state as a human-readable string, or null if it was not included in the monitor entry.
    • getTotalMinorStateDurationMillis

      Retrieves the total length of time the gauge has been in the minor state in milliseconds, if available.
      Returns:
      The total length of time the gauge has been in the minor state in milliseconds, or null if it was not included in the monitor entry.
    • getLastMajorStateStartTime

      Retrieves the time the gauge last entered the major state, if available.
      Returns:
      The time the gauge last entered the major state, or null if it was not included in the monitor entry.
    • getLastMajorStateEndTime

      Retrieves the time the gauge last exited the major state, if available.
      Returns:
      The time the gauge last exited the major state, or null if it was not included in the monitor entry.
    • getLastMajorStateDurationString

      Retrieves the duration of the last major state as a human-readable string, if available.
      Returns:
      The duration of the last major state as a human-readable string, or null if it was not included in the monitor entry.
    • getLastMajorStateDurationMillis

      Retrieves the duration of the last major state in milliseconds, if available.
      Returns:
      The duration of the last major state in milliseconds, or null if it was not included in the monitor entry.
    • getTotalMajorStateDurationString

      Retrieves the total length of time the gauge has been in the major state as a human-readable string, if available.
      Returns:
      The total length of time the gauge has been in the major state as a human-readable string, or null if it was not included in the monitor entry.
    • getTotalMajorStateDurationMillis

      Retrieves the total length of time the gauge has been in the major state in milliseconds, if available.
      Returns:
      The total length of time the gauge has been in the major state in milliseconds, or null if it was not included in the monitor entry.
    • getLastCriticalStateStartTime

      Retrieves the time the gauge last entered the critical state, if available.
      Returns:
      The time the gauge last entered the critical state, or null if it was not included in the monitor entry.
    • getLastCriticalStateEndTime

      Retrieves the time the gauge last exited the critical state, if available.
      Returns:
      The time the gauge last exited the critical state, or null if it was not included in the monitor entry.
    • getLastCriticalStateDurationString

      Retrieves the duration of the last critical state as a human-readable string, if available.
      Returns:
      The duration of the last critical state as a human-readable string, or null if it was not included in the monitor entry.
    • getLastCriticalStateDurationMillis

      Retrieves the duration of the last critical state in milliseconds, if available.
      Returns:
      The duration of the last critical state in milliseconds, or null if it was not included in the monitor entry.
    • getTotalCriticalStateDurationString

      Retrieves the total length of time the gauge has been in the critical state as a human-readable string, if available.
      Returns:
      The total length of time the gauge has been in the critical state as a human-readable string, or null if it was not included in the monitor entry.
    • getTotalCriticalStateDurationMillis

      Retrieves the total length of time the gauge has been in the critical state in milliseconds, if available.
      Returns:
      The total length of time the gauge has been in the critical state in milliseconds, or null if it was not included in the monitor entry.
    • getMonitorDisplayName

      Retrieves a human-readable display name for this monitor entry.
      Overrides:
      getMonitorDisplayName in class MonitorEntry
      Returns:
      A human-readable display name for this monitor entry.
    • getMonitorDescription

      Retrieves a human-readable description name for this monitor entry.
      Overrides:
      getMonitorDescription in class MonitorEntry
      Returns:
      A human-readable description name for this monitor entry.
    • getMonitorAttributes

      Retrieves the set of parsed monitor attributes for this monitor entry, mapped from a unique identifier (in all lowercase characters) to the corresponding monitor attribute.
      Overrides:
      getMonitorAttributes in class MonitorEntry
      Returns:
      The set of parsed monitor attributes for this monitor entry.