Class 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.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:
    Serialized Form
    • 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 be null.
    • 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 null if 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 null if 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 null if 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 null if 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 null if 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 null if 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 null if 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 null if 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 null if it was not included in the monitor entry.
      • getMonitorAttributes

        public java.util.Map<java.lang.String,​MonitorAttributegetMonitorAttributes()
        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.