Class AlarmEntry
java.lang.Object
com.unboundid.ldap.sdk.Entry
com.unboundid.ldap.sdk.ReadOnlyEntry
com.unboundid.ldap.sdk.unboundidds.AlarmEntry
- All Implemented Interfaces:
LDIFRecord,Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class AlarmEntry
extends ReadOnlyEntry
This class provides a data structure for representing an administrative entry
as exposed by the alarms backend in the Directory Server. Alarm entries
provide information about potential ongoing or resolved conditions within the
server.
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the additional text for the alarm, if any.Retrieves the condition for the alarm.Retrieves the details message for the alarm, if any.Retrieves the X.733 event type for the alarm, if available.Retrieves the identifier for the alarm.Retrieves the time that the alarm last transitioned to a critical severity, if available.Retrieves the time that the alarm last transitioned to an indeterminate severity, if available.Retrieves the time that the alarm last transitioned to a major severity, if available.Retrieves the time that the alarm last transitioned to a minor severity, if available.Retrieves the time that the alarm last transitioned to a normal severity, if available.Retrieves the time that the alarm last transitioned to a warning severity, if available.Retrieves the X.733 probable cause for the alarm, if available.Retrieves the specific resource for the alarm, if any.Retrieves the specific resource type for the alarm, if any.Retrieves the start time for the alarm.Retrieves the length of time in milliseconds the alarm has spent at the critical severity, if available.Retrieves the length of time in milliseconds the alarm has spent at the indeterminate severity, if available.Retrieves the length of time in milliseconds the alarm has spent at the major severity, if available.Retrieves the length of time in milliseconds the alarm has spent at the minor severity, if available.Retrieves the length of time in milliseconds the alarm has spent at the normal severity, if available.Retrieves the length of time in milliseconds the alarm has spent at the warning severity, if available.Retrieves the current severity for the alarm.Retrieves the previous severity for the alarm.Methods inherited from class com.unboundid.ldap.sdk.ReadOnlyEntry
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDNMethods inherited from class com.unboundid.ldap.sdk.Entry
addAttribute, applyModifications, applyModifications, applyModifyDN, applyModifyDN, diff, diff, diff, duplicate, equals, getAttribute, getAttribute, getAttributes, getAttributesWithOptions, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsDate, getAttributeValueAsDN, getAttributeValueAsInteger, getAttributeValueAsLong, getAttributeValueByteArrays, getAttributeValueBytes, getAttributeValues, getDN, getObjectClassAttribute, getObjectClassValues, getParentDN, getParentDNString, getParsedDN, getRDN, getSchema, hasAttribute, hasAttribute, hasAttribute, hasAttributeValue, hasAttributeValue, hasAttributeValue, hasAttributeValue, hashCode, hasObjectClass, intersectEntries, matchesBaseAndScope, matchesBaseAndScope, mergeEntries, removeAttributeValue, removeAttributeValue, setAttribute, toLDIF, toLDIF, toLDIF, toLDIF, toLDIFString, toLDIFString, toLDIFString, toLDIFString, toString, toString
-
Constructor Details
-
AlarmEntry
Creates a new alarm entry from the provided entry.- Parameters:
entry- The entry to use to create this alarm entry.
-
-
Method Details
-
getAlarmID
Retrieves the identifier for the alarm.- Returns:
- The identifier for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmCondition
Retrieves the condition for the alarm.- Returns:
- The condition for the alarm, or
nullif it was not included in the alarm entry.
-
getCurrentAlarmSeverity
Retrieves the current severity for the alarm.- Returns:
- The current severity for the alarm, or
nullif it was not included in the alarm entry.
-
getPreviousAlarmSeverity
Retrieves the previous severity for the alarm.- Returns:
- The previous severity for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmStartTime
Retrieves the start time for the alarm.- Returns:
- The start time for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmSpecificResource
Retrieves the specific resource for the alarm, if any.- Returns:
- The specific resource for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmSpecificResourceType
Retrieves the specific resource type for the alarm, if any.- Returns:
- The specific resource type for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmDetails
Retrieves the details message for the alarm, if any.- Returns:
- The details message for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmAdditionalText
Retrieves the additional text for the alarm, if any.- Returns:
- The additional text for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmLastNormalTime
Retrieves the time that the alarm last transitioned to a normal severity, if available.- Returns:
- The time that the alarm last transitioned to a normal severity, or
nullif it was not included in the alarm entry.
-
getAlarmLastWarningTime
Retrieves the time that the alarm last transitioned to a warning severity, if available.- Returns:
- The time that the alarm last transitioned to a warning severity,
or
nullif it was not included in the alarm entry.
-
getAlarmLastMinorTime
Retrieves the time that the alarm last transitioned to a minor severity, if available.- Returns:
- The time that the alarm last transitioned to a minor severity, or
nullif it was not included in the alarm entry.
-
getAlarmLastMajorTime
Retrieves the time that the alarm last transitioned to a major severity, if available.- Returns:
- The time that the alarm last transitioned to a major severity, or
nullif it was not included in the alarm entry.
-
getAlarmLastCriticalTime
Retrieves the time that the alarm last transitioned to a critical severity, if available.- Returns:
- The time that the alarm last transitioned to a critical severity,
or
nullif it was not included in the alarm entry.
-
getAlarmLastIndeterminateTime
Retrieves the time that the alarm last transitioned to an indeterminate severity, if available.- Returns:
- The time that the alarm last transitioned to an indeterminate
severity, or
nullif it was not included in the alarm entry.
-
getAlarmTotalDurationNormalMillis
Retrieves the length of time in milliseconds the alarm has spent at the normal severity, if available.- Returns:
- The length of time in milliseconds the alarm has spent at the
normal severity, or
nullif it was not included in the alarm entry.
-
getAlarmTotalDurationWarningMillis
Retrieves the length of time in milliseconds the alarm has spent at the warning severity, if available.- Returns:
- The length of time in milliseconds the alarm has spent at the
warning severity, or
nullif it was not included in the alarm entry.
-
getAlarmTotalDurationMinorMillis
Retrieves the length of time in milliseconds the alarm has spent at the minor severity, if available.- Returns:
- The length of time in milliseconds the alarm has spent at the
minor severity, or
nullif it was not included in the alarm entry.
-
getAlarmTotalDurationMajorMillis
Retrieves the length of time in milliseconds the alarm has spent at the major severity, if available.- Returns:
- The length of time in milliseconds the alarm has spent at the
major severity, or
nullif it was not included in the alarm entry.
-
getAlarmTotalDurationCriticalMillis
Retrieves the length of time in milliseconds the alarm has spent at the critical severity, if available.- Returns:
- The length of time in milliseconds the alarm has spent at the
critical severity, or
nullif it was not included in the alarm entry.
-
getAlarmTotalDurationIndeterminateMillis
Retrieves the length of time in milliseconds the alarm has spent at the indeterminate severity, if available.- Returns:
- The length of time in milliseconds the alarm has spent at the
indeterminate severity, or
nullif it was not included in the alarm entry.
-
getAlarmEventType
Retrieves the X.733 event type for the alarm, if available.- Returns:
- The X.733 event type for the alarm, or
nullif it was not included in the alarm entry.
-
getAlarmProbableCause
Retrieves the X.733 probable cause for the alarm, if available.- Returns:
- The X.733 probable cause for the alarm, or
nullif it was not included in the alarm entry.
-