@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostMemoryConfiguration extends HostConfigurationMetricGroup
Memory Configuration metric for the host
Note: Objects should always be created or deserialized using the HostMemoryConfiguration.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 HostMemoryConfiguration.Builder
, which maintain a
set of all explicitly set fields called HostMemoryConfiguration.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 |
HostMemoryConfiguration.Builder |
HostConfigurationMetricGroup.MetricName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HostMemoryConfiguration(Date timeCollected,
Double pageSizeInKB,
Double pageTablesInKB,
Double swapTotalInKB,
Double hugePageSizeInKB,
Integer hugePagesTotal)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostMemoryConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getHugePageSizeInKB()
Size of huge pages in kilobytes
|
Integer |
getHugePagesTotal()
Total number of huge pages
|
Double |
getPageSizeInKB()
Page size in kilobytes
|
Double |
getPageTablesInKB()
Amount of memory used for page tables in kilobytes
|
Double |
getSwapTotalInKB()
Amount of total swap space in kilobytes
|
int |
hashCode() |
HostMemoryConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static HostMemoryConfiguration.Builder builder()
Create a new builder.
public HostMemoryConfiguration.Builder toBuilder()
public Double getPageSizeInKB()
Page size in kilobytes
public Double getPageTablesInKB()
Amount of memory used for page tables in kilobytes
public Double getSwapTotalInKB()
Amount of total swap space in kilobytes
public Double getHugePageSizeInKB()
Size of huge pages in kilobytes
public Integer getHugePagesTotal()
Total number of huge pages
public String toString()
toString
in class HostConfigurationMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostConfigurationMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostConfigurationMetricGroup
public int hashCode()
hashCode
in class HostConfigurationMetricGroup
Copyright © 2016–2024. All rights reserved.