@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
).
Modifier and Type | Class and Description |
---|---|
static class |
HostMemoryUsage.Builder |
HostPerformanceMetricGroup.MetricName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static HostMemoryUsage.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getAnonHugePagesInKB()
Amount of memory used for anon huge pages in kilobytes
|
Double |
getFreeLogicalMemoryInKB()
Amount of avaiable virtual memory in kilobytes
|
Double |
getFreeMemoryInKB()
Amount of available physical memory in kilobytes
|
Integer |
getHugePagesFree()
Number of available huge pages
|
Integer |
getHugePagesReserved()
Number of reserved huge pages
|
Integer |
getHugePagesSurplus()
Number of surplus huge pages
|
Double |
getLogicalMemoryUsedInGB()
Memory used excluding buffers and cache in gigabytes
|
Float |
getLogicalMemoryUtilizationInPercent()
Amount of logical memory used in percentage
|
Integer |
getMajorPageFaults()
Number of major page faults
|
Double |
getMemoryLoadInGB()
Load on memory in gigabytes
|
Double |
getMemoryUsedInGB()
Amount of physical memory used in gigabytes
|
Float |
getMemoryUtilizationInPercent()
Amount of physical memory used in percentage
|
Double |
getRealMemoryInKB()
Amount of usable physical memory in kilobytes
|
Double |
getSwapFreeInKB()
Amount of available swap space in kilobytes
|
int |
hashCode() |
HostMemoryUsage.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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)
public static HostMemoryUsage.Builder builder()
Create a new builder.
public HostMemoryUsage.Builder toBuilder()
public Double getMemoryUsedInGB()
Amount of physical memory used in gigabytes
public Float getMemoryUtilizationInPercent()
Amount of physical memory used in percentage
public Double getMemoryLoadInGB()
Load on memory in gigabytes
public Double getRealMemoryInKB()
Amount of usable physical memory in kilobytes
public Double getFreeMemoryInKB()
Amount of available physical memory in kilobytes
public Double getLogicalMemoryUsedInGB()
Memory used excluding buffers and cache in gigabytes
public Float getLogicalMemoryUtilizationInPercent()
Amount of logical memory used in percentage
public Double getFreeLogicalMemoryInKB()
Amount of avaiable virtual memory in kilobytes
public Integer getMajorPageFaults()
Number of major page faults
public Double getSwapFreeInKB()
Amount of available swap space in kilobytes
public Double getAnonHugePagesInKB()
Amount of memory used for anon huge pages in kilobytes
public Integer getHugePagesFree()
Number of available huge pages
public Integer getHugePagesReserved()
Number of reserved huge pages
public Integer getHugePagesSurplus()
Number of surplus huge pages
public String toString()
toString
in class HostPerformanceMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostPerformanceMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostPerformanceMetricGroup
public int hashCode()
hashCode
in class HostPerformanceMetricGroup
Copyright © 2016–2024. All rights reserved.