|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.GaugeMonitorEntry
@NotExtensible @ThreadSafety(level=COMPLETELY_THREADSAFE) public class GaugeMonitorEntry
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.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.
| Constructor Summary | |
|---|---|
GaugeMonitorEntry(Entry entry)
Creates a new gauge monitor entry from the provided entry. |
|
| Method Summary | |
|---|---|
AlarmSeverity |
getCurrentSeverity()
Retrieves the current severity for the gauge, if available. |
java.lang.Long |
getCurrentSeverityDurationMillis()
Retrieves the current severity duration in milliseconds, if available. |
java.lang.String |
getCurrentSeverityDurationString()
Retrieves the current severity duration as a human-readable string, if available. |
java.util.Date |
getCurrentSeverityStartTime()
Retrieves the time the gauge entered the current severity, if available. |
java.util.List<java.lang.String> |
getErrorMessages()
Retrieves the error messages for the gauge, if available. |
java.lang.String |
getGaugeName()
Retrieves the name for the gauge, if available. |
java.util.Date |
getInitTime()
Retrieves the time the gauge was initialized, if available. |
java.lang.Long |
getLastCriticalStateDurationMillis()
Retrieves the duration of the last critical state in milliseconds, if available. |
java.lang.String |
getLastCriticalStateDurationString()
Retrieves the duration of the last critical state as a human-readable string, if available. |
java.util.Date |
getLastCriticalStateEndTime()
Retrieves the time the gauge last exited the critical state, if available. |
java.util.Date |
getLastCriticalStateStartTime()
Retrieves the time the gauge last entered the critical state, if available. |
java.lang.Long |
getLastMajorStateDurationMillis()
Retrieves the duration of the last major state in milliseconds, if available. |
java.lang.String |
getLastMajorStateDurationString()
Retrieves the duration of the last major state as a human-readable string, if available. |
java.util.Date |
getLastMajorStateEndTime()
Retrieves the time the gauge last exited the major state, if available. |
java.util.Date |
getLastMajorStateStartTime()
Retrieves the time the gauge last entered the major state, if available. |
java.lang.Long |
getLastMinorStateDurationMillis()
Retrieves the duration of the last minor state in milliseconds, if available. |
java.lang.String |
getLastMinorStateDurationString()
Retrieves the duration of the last minor state as a human-readable string, if available. |
java.util.Date |
getLastMinorStateEndTime()
Retrieves the time the gauge last exited the minor state, if available. |
java.util.Date |
getLastMinorStateStartTime()
Retrieves the time the gauge last entered the minor state, if available. |
java.lang.Long |
getLastNormalStateDurationMillis()
Retrieves the duration of the last normal state in milliseconds, if available. |
java.lang.String |
getLastNormalStateDurationString()
Retrieves the duration of the last normal state as a human-readable string, if available. |
java.util.Date |
getLastNormalStateEndTime()
Retrieves the time the gauge last exited the normal state, if available. |
java.util.Date |
getLastNormalStateStartTime()
Retrieves the time the gauge last entered the normal state, if available. |
java.lang.Long |
getLastWarningStateDurationMillis()
Retrieves the duration of the last warning state in milliseconds, if available. |
java.lang.String |
getLastWarningStateDurationString()
Retrieves the duration of the last warning state as a human-readable string, if available. |
java.util.Date |
getLastWarningStateEndTime()
Retrieves the time the gauge last exited the warning state, if available. |
java.util.Date |
getLastWarningStateStartTime()
Retrieves the time the gauge last entered the warning state, if available. |
java.util.Map<java.lang.String,MonitorAttribute> |
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. |
java.lang.String |
getMonitorDescription()
Retrieves a human-readable description name for this monitor entry. |
java.lang.String |
getMonitorDisplayName()
Retrieves a human-readable display name for this monitor entry. |
AlarmSeverity |
getPreviousSeverity()
Retrieves the previous severity for the gauge, if available. |
java.lang.String |
getResource()
Retrieves the resource for the gauge, if available. |
java.lang.String |
getResourceType()
Retrieves the resource type for the gauge, if available. |
java.lang.Long |
getSamplesThisInterval()
Retrieves the number of samples taken in the current interval, if available. |
java.lang.String |
getSummary()
Retrieves the summary message for the gauge, if available. |
java.lang.Long |
getTotalCriticalStateDurationMillis()
Retrieves the total length of time the gauge has been in the critical state in milliseconds, if available. |
java.lang.String |
getTotalCriticalStateDurationString()
Retrieves the total length of time the gauge has been in the critical state as a human-readable string, if available. |
java.lang.Long |
getTotalMajorStateDurationMillis()
Retrieves the total length of time the gauge has been in the major state in milliseconds, if available. |
java.lang.String |
getTotalMajorStateDurationString()
Retrieves the total length of time the gauge has been in the major state as a human-readable string, if available. |
java.lang.Long |
getTotalMinorStateDurationMillis()
Retrieves the total length of time the gauge has been in the minor state in milliseconds, if available. |
java.lang.String |
getTotalMinorStateDurationString()
Retrieves the total length of time the gauge has been in the minor state as a human-readable string, if available. |
java.lang.Long |
getTotalNormalStateDurationMillis()
Retrieves the total length of time the gauge has been in the normal state in milliseconds, if available. |
java.lang.String |
getTotalNormalStateDurationString()
Retrieves the total length of time the gauge has been in the normal state as a human-readable string, if available. |
java.lang.Long |
getTotalWarningStateDurationMillis()
Retrieves the total length of time the gauge has been in the warning state in milliseconds, if available. |
java.lang.String |
getTotalWarningStateDurationString()
Retrieves the total length of time the gauge has been in the warning state as a human-readable string, if available. |
java.util.Date |
getUpdateTime()
Retrieves the time the gauge was last updated, if available. |
| Methods inherited from class com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry |
|---|
addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, addMonitorAttribute, decode, getBoolean, getDate, getDN, getDouble, getEntry, getInteger, getLong, getMonitorClass, getMonitorName, getString, getStrings, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GaugeMonitorEntry(Entry entry)
entry - The entry to be parsed as a gauge monitor entry. It must
not be null.| Method Detail |
|---|
public final java.lang.String getGaugeName()
null if it was not included
in the monitor entry.public final java.lang.String getResource()
null if it was not included
in the monitor entry.public final java.lang.String getResourceType()
null if it was not
included in the monitor entry.public final AlarmSeverity getCurrentSeverity()
null if it was not
included in the monitor entry.public final AlarmSeverity getPreviousSeverity()
null if it was not
included in the monitor entry.public final java.lang.String getSummary()
null if it was not
included in the monitor entry.public final java.util.List<java.lang.String> getErrorMessages()
public final java.util.Date getInitTime()
null if it was not
included in the monitor entry.public final java.util.Date getUpdateTime()
null if it was not
included in the monitor entry.public final java.lang.Long getSamplesThisInterval()
null if it was not included in the monitor entry.public final java.util.Date getCurrentSeverityStartTime()
null
if it was not included in the monitor entry.public final java.lang.String getCurrentSeverityDurationString()
null if it was not included in the monitor entry.public final java.lang.Long getCurrentSeverityDurationMillis()
null if
it was not included in the monitor entry.public final java.util.Date getLastNormalStateStartTime()
null
if it was not included in the monitor entry.public final java.util.Date getLastNormalStateEndTime()
null
if it was not included in the monitor entry.public final java.lang.String getLastNormalStateDurationString()
null if it was not included in the monitor entry.public final java.lang.Long getLastNormalStateDurationMillis()
null if it was not included in the monitor entry.public final java.lang.String getTotalNormalStateDurationString()
null if it was not included in
the monitor entry.public final java.lang.Long getTotalNormalStateDurationMillis()
null if it was not included in the
monitor entry.public final java.util.Date getLastWarningStateStartTime()
null
if it was not included in the monitor entry.public final java.util.Date getLastWarningStateEndTime()
null
if it was not included in the monitor entry.public final java.lang.String getLastWarningStateDurationString()
null if it was not included in the monitor entry.public final java.lang.Long getLastWarningStateDurationMillis()
null if it was not included in the monitor entry.public final java.lang.String getTotalWarningStateDurationString()
null if it was not included
in the monitor entry.public final java.lang.Long getTotalWarningStateDurationMillis()
null if it was not included in the
monitor entry.public final java.util.Date getLastMinorStateStartTime()
null
if it was not included in the monitor entry.public final java.util.Date getLastMinorStateEndTime()
null
if it was not included in the monitor entry.public final java.lang.String getLastMinorStateDurationString()
null if it was not included in the monitor entry.public final java.lang.Long getLastMinorStateDurationMillis()
null if it was not included in the monitor entry.public final java.lang.String getTotalMinorStateDurationString()
null if it was not included in
the monitor entry.public final java.lang.Long getTotalMinorStateDurationMillis()
null if it was not included in the
monitor entry.public final java.util.Date getLastMajorStateStartTime()
null
if it was not included in the monitor entry.public final java.util.Date getLastMajorStateEndTime()
null
if it was not included in the monitor entry.public final java.lang.String getLastMajorStateDurationString()
null if it was not included in the monitor entry.public final java.lang.Long getLastMajorStateDurationMillis()
null if it was not included in the monitor entry.public final java.lang.String getTotalMajorStateDurationString()
null if it was not included in
the monitor entry.public final java.lang.Long getTotalMajorStateDurationMillis()
null if it was not included in the
monitor entry.public final java.util.Date getLastCriticalStateStartTime()
null if it was not included in the monitor entry.public final java.util.Date getLastCriticalStateEndTime()
null
if it was not included in the monitor entry.public final java.lang.String getLastCriticalStateDurationString()
null if it was not included in the monitor
entry.public final java.lang.Long getLastCriticalStateDurationMillis()
null if it was not included in the monitor entry.public final java.lang.String getTotalCriticalStateDurationString()
null if it was not included
in the monitor entry.public final java.lang.Long getTotalCriticalStateDurationMillis()
null if it was not included in the
monitor entry.public java.lang.String getMonitorDisplayName()
getMonitorDisplayName in class MonitorEntrypublic java.lang.String getMonitorDescription()
getMonitorDescription in class MonitorEntrypublic java.util.Map<java.lang.String,MonitorAttribute> getMonitorAttributes()
getMonitorAttributes in class MonitorEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||