Package com.oracle.bmc.opsi.model
Class HostMemoryUsage
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.opsi.model.HostPerformanceMetricGroup
- 
- com.oracle.bmc.opsi.model.HostMemoryUsage
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostMemoryUsage extends HostPerformanceMetricGroupMemory usage metric for the host
 Note: Objects should always be created or deserialized using theHostMemoryUsage.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 calledHostMemoryUsage.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHostMemoryUsage.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.HostPerformanceMetricGroupHostPerformanceMetricGroup.MetricName
 
- 
 - 
Constructor SummaryConstructors Constructor Description HostMemoryUsage(Date timeCollected, Double memoryUsedInGB, Float memoryUtilizationInPercent, Double memoryLoadInGB, Double realMemoryInKB, Double freeMemoryInKB, Double logicalMemoryUsedInGB, Float logicalMemoryUtilizationInPercent, Double freeLogicalMemoryInKB, Integer majorPageFaults, Double swapFreeInKB, Double anonHugePagesInKB, Integer hugePagesFree, Integer hugePagesReserved, Integer hugePagesSurplus)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostMemoryUsage.Builderbuilder()Create a new builder.booleanequals(Object o)DoublegetAnonHugePagesInKB()Amount of memory used for anon huge pages in kilobytesDoublegetFreeLogicalMemoryInKB()Amount of avaiable virtual memory in kilobytesDoublegetFreeMemoryInKB()Amount of available physical memory in kilobytesIntegergetHugePagesFree()Number of available huge pagesIntegergetHugePagesReserved()Number of reserved huge pagesIntegergetHugePagesSurplus()Number of surplus huge pagesDoublegetLogicalMemoryUsedInGB()Memory used excluding buffers and cache in gigabytesFloatgetLogicalMemoryUtilizationInPercent()Amount of logical memory used in percentageIntegergetMajorPageFaults()Number of major page faultsDoublegetMemoryLoadInGB()Load on memory in gigabytesDoublegetMemoryUsedInGB()Amount of physical memory used in gigabytesFloatgetMemoryUtilizationInPercent()Amount of physical memory used in percentageDoublegetRealMemoryInKB()Amount of usable physical memory in kilobytesDoublegetSwapFreeInKB()Amount of available swap space in kilobytesinthashCode()HostMemoryUsage.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.opsi.model.HostPerformanceMetricGroupgetTimeCollected
 
- 
 
- 
- 
- 
Constructor Detail- 
HostMemoryUsage@Deprecated public HostMemoryUsage(Date timeCollected, Double memoryUsedInGB, Float memoryUtilizationInPercent, Double memoryLoadInGB, Double realMemoryInKB, Double freeMemoryInKB, Double logicalMemoryUsedInGB, Float logicalMemoryUtilizationInPercent, Double freeLogicalMemoryInKB, Integer majorPageFaults, Double swapFreeInKB, Double anonHugePagesInKB, Integer hugePagesFree, Integer hugePagesReserved, Integer hugePagesSurplus) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static HostMemoryUsage.Builder builder() Create a new builder.
 - 
toBuilderpublic HostMemoryUsage.Builder toBuilder() 
 - 
getMemoryUsedInGBpublic Double getMemoryUsedInGB() Amount of physical memory used in gigabytes- Returns:
- the value
 
 - 
getMemoryUtilizationInPercentpublic Float getMemoryUtilizationInPercent() Amount of physical memory used in percentage- Returns:
- the value
 
 - 
getMemoryLoadInGBpublic Double getMemoryLoadInGB() Load on memory in gigabytes- Returns:
- the value
 
 - 
getRealMemoryInKBpublic Double getRealMemoryInKB() Amount of usable physical memory in kilobytes- Returns:
- the value
 
 - 
getFreeMemoryInKBpublic Double getFreeMemoryInKB() Amount of available physical memory in kilobytes- Returns:
- the value
 
 - 
getLogicalMemoryUsedInGBpublic Double getLogicalMemoryUsedInGB() Memory used excluding buffers and cache in gigabytes- Returns:
- the value
 
 - 
getLogicalMemoryUtilizationInPercentpublic Float getLogicalMemoryUtilizationInPercent() Amount of logical memory used in percentage- Returns:
- the value
 
 - 
getFreeLogicalMemoryInKBpublic Double getFreeLogicalMemoryInKB() Amount of avaiable virtual memory in kilobytes- Returns:
- the value
 
 - 
getMajorPageFaultspublic Integer getMajorPageFaults() Number of major page faults- Returns:
- the value
 
 - 
getSwapFreeInKBpublic Double getSwapFreeInKB() Amount of available swap space in kilobytes- Returns:
- the value
 
 - 
getAnonHugePagesInKBpublic Double getAnonHugePagesInKB() Amount of memory used for anon huge pages in kilobytes- Returns:
- the value
 
 - 
getHugePagesFreepublic Integer getHugePagesFree() Number of available huge pages- Returns:
- the value
 
 - 
getHugePagesReservedpublic Integer getHugePagesReserved() Number of reserved huge pages- Returns:
- the value
 
 - 
getHugePagesSurpluspublic Integer getHugePagesSurplus() Number of surplus huge pages- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- HostPerformanceMetricGroup
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- HostPerformanceMetricGroup
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- HostPerformanceMetricGroup
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- HostPerformanceMetricGroup
 
 
- 
 
-