Class HostSystemRecentCPUAndMemoryMonitorEntry
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.monitors.MonitorEntry
-
- com.unboundid.ldap.sdk.unboundidds.monitors.HostSystemRecentCPUAndMemoryMonitorEntry
-
- All Implemented Interfaces:
java.io.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.unboundiddspackage 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostSystemRecentCPUAndMemoryMonitorEntry(Entry entry)Creates a new host system recent CPU and memory monitor entry from the provided entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.StringgetMonitorDescription()Retrieves a human-readable description name for this monitor entry.java.lang.StringgetMonitorDisplayName()Retrieves a human-readable display name for this monitor entry.java.lang.DoublegetRecentCPUIdlePercent()Retrieves the percentage of recent CPU idle time, if available.java.lang.DoublegetRecentCPUIOWaitPercent()Retrieves the percentage of recent CPU time spent in the I/O wait state, if available.java.lang.DoublegetRecentCPUSystemPercent()Retrieves the percentage of recent CPU time spent in the system state, if available.java.lang.DoublegetRecentCPUTotalBusyPercent()Retrieves the total percentage of recent CPU time spent in user, system, or I/O wait states, if available.java.lang.DoublegetRecentCPUUserPercent()Retrieves the percentage of recent CPU time spent in the user state, if available.java.lang.DoublegetRecentSystemMemoryFreeGB()Retrieves the recent amount of free system memory in gigabytes, if available.java.lang.DoublegetRecentSystemMemoryPercentFree()Retrieves the recent percentage of free system memory, if available.java.lang.DoublegetTotalSystemMemoryGB()Retrieves the total amount of system memory in gigabytes, if available.java.util.DategetUpdateTime()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 Detail
-
HostSystemRecentCPUAndMemoryMonitorEntry
public HostSystemRecentCPUAndMemoryMonitorEntry(Entry entry)
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 Detail
-
getUpdateTime
public java.util.Date 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.Double 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
public java.lang.String 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
public java.lang.String 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
public 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.- Overrides:
getMonitorAttributesin classMonitorEntry- Returns:
- The set of parsed monitor attributes for this monitor entry.
-
-