Class HostMemoryUsage


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class HostMemoryUsage
    extends HostPerformanceMetricGroup
    Memory usage metric for the host
    Note: Objects should always be created or deserialized using the HostMemoryUsage.Builder.

    This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the HostMemoryUsage.Builder, which maintain a set of all explicitly set fields called HostMemoryUsage.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getMemoryUsedInGB

        public Double getMemoryUsedInGB()
        Amount of physical memory used in gigabytes
        Returns:
        the value
      • getMemoryUtilizationInPercent

        public Float getMemoryUtilizationInPercent()
        Amount of physical memory used in percentage
        Returns:
        the value
      • getMemoryLoadInGB

        public Double getMemoryLoadInGB()
        Load on memory in gigabytes
        Returns:
        the value
      • getRealMemoryInKB

        public Double getRealMemoryInKB()
        Amount of usable physical memory in kilobytes
        Returns:
        the value
      • getFreeMemoryInKB

        public Double getFreeMemoryInKB()
        Amount of available physical memory in kilobytes
        Returns:
        the value
      • getLogicalMemoryUsedInGB

        public Double getLogicalMemoryUsedInGB()
        Memory used excluding buffers and cache in gigabytes
        Returns:
        the value
      • getLogicalMemoryUtilizationInPercent

        public Float getLogicalMemoryUtilizationInPercent()
        Amount of logical memory used in percentage
        Returns:
        the value
      • getFreeLogicalMemoryInKB

        public Double getFreeLogicalMemoryInKB()
        Amount of avaiable virtual memory in kilobytes
        Returns:
        the value
      • getMajorPageFaults

        public Integer getMajorPageFaults()
        Number of major page faults
        Returns:
        the value
      • getSwapFreeInKB

        public Double getSwapFreeInKB()
        Amount of available swap space in kilobytes
        Returns:
        the value
      • getAnonHugePagesInKB

        public Double getAnonHugePagesInKB()
        Amount of memory used for anon huge pages in kilobytes
        Returns:
        the value
      • getHugePagesFree

        public Integer getHugePagesFree()
        Number of available huge pages
        Returns:
        the value
      • getHugePagesReserved

        public Integer getHugePagesReserved()
        Number of reserved huge pages
        Returns:
        the value
      • getHugePagesSurplus

        public Integer getHugePagesSurplus()
        Number of surplus huge pages
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class HostPerformanceMetricGroup
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation