Class HostSystemRecentCPUAndMemoryMonitorEntry
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
com.unboundid.ldap.sdk.unboundidds.monitors.HostSystemRecentCPUAndMemoryMonitorEntry
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class HostSystemRecentCPUAndMemoryMonitorEntry
extends MonitorEntry
This class defines a monitor entry that provides information about the recent
CPU and memory utilization of the underlying system.
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
ConstructorsConstructorDescriptionCreates a new host system recent CPU and memory monitor entry from the provided entry. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the set of parsed monitor attributes for this monitor entry, mapped from a unique identifier (in all lowercase characters) to the corresponding monitor attribute.Retrieves a human-readable description name for this monitor entry.Retrieves a human-readable display name for this monitor entry.Retrieves the percentage of recent CPU idle time, if available.Retrieves the percentage of recent CPU time spent in the I/O wait state, if available.Retrieves the percentage of recent CPU time spent in the system state, if available.Retrieves the total percentage of recent CPU time spent in user, system, or I/O wait states, if available.Retrieves the percentage of recent CPU time spent in the user state, if available.Retrieves the recent amount of free system memory in gigabytes, if available.Retrieves the recent percentage of free system memory, if available.Retrieves the total amount of system memory in gigabytes, if available.Retrieves the time that the CPU and memory utilization data 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
-
Constructor Details
-
HostSystemRecentCPUAndMemoryMonitorEntry
Creates a new host system recent CPU and memory monitor entry from the provided entry.- Parameters:
entry- The entry to be parsed as a host system recent CPU and memory monitor entry. It must not benull.
-
-
Method Details
-
getUpdateTime
Retrieves the time that the CPU and memory utilization data was last updated, if available.- Returns:
- The time that the CPU and system memory utilization data was
last updated, or
nullif it was not included in the monitor entry.
-
getRecentCPUTotalBusyPercent
Retrieves the total percentage of recent CPU time spent in user, system, or I/O wait states, if available.- Returns:
- The total percentage of recent CPU time spent in user, system, or
I/O wait states, or
nullif it was not included in the monitor entry.
-
getRecentCPUUserPercent
Retrieves the percentage of recent CPU time spent in the user state, if available.- Returns:
- The percentage of recent CPU time spent in the user state, or
nullif it was not included in the monitor entry.
-
getRecentCPUSystemPercent
Retrieves the percentage of recent CPU time spent in the system state, if available.- Returns:
- The percentage of recent CPU time spent in the system state, or
nullif it was not included in the monitor entry.
-
getRecentCPUIOWaitPercent
Retrieves the percentage of recent CPU time spent in the I/O wait state, if available.- Returns:
- The percentage of recent CPU time spent in the I/O wait state, or
nullif it was not included in the monitor entry.
-
getRecentCPUIdlePercent
Retrieves the percentage of recent CPU idle time, if available.- Returns:
- The percentage of recent CPU idle time, or
nullif it was not included in the monitor entry.
-
getTotalSystemMemoryGB
Retrieves the total amount of system memory in gigabytes, if available.- Returns:
- The total amount of system memory in gigabytes, or
nullif it was not included in the monitor entry.
-
getRecentSystemMemoryFreeGB
Retrieves the recent amount of free system memory in gigabytes, if available.- Returns:
- The recent amount of free system memory in gigabytes, or
nullif it was not included in the monitor entry.
-
getRecentSystemMemoryPercentFree
Retrieves the recent percentage of free system memory, if available.- Returns:
- The recent percentage of free system memory, or
nullif it was not included in the monitor entry.
-
getMonitorDisplayName
Retrieves a human-readable display name for this monitor entry.- Overrides:
getMonitorDisplayNamein classMonitorEntry- Returns:
- A human-readable display name for this monitor entry.
-
getMonitorDescription
Retrieves a human-readable description name for this monitor entry.- Overrides:
getMonitorDescriptionin classMonitorEntry- 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:
getMonitorAttributesin classMonitorEntry- Returns:
- The set of parsed monitor attributes for this monitor entry.
-