@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostCpuHardwareConfiguration extends HostConfigurationMetricGroup
CPU Hardware Configuration metric for the host
Note: Objects should always be created or deserialized using the HostCpuHardwareConfiguration.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 HostCpuHardwareConfiguration.Builder
, which maintain a
set of all explicitly set fields called HostCpuHardwareConfiguration.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 |
HostCpuHardwareConfiguration.Builder |
HostConfigurationMetricGroup.MetricName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HostCpuHardwareConfiguration(Date timeCollected,
Integer totalSockets,
String vendorName,
Double frequencyInMhz,
Double cacheInMB,
String cpuImplementation,
String model,
String cpuFamily,
Integer coresPerSocket,
Integer threadsPerSocket,
String hyperThreadingEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostCpuHardwareConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getCacheInMB()
Size of cache memory in megabytes
|
Integer |
getCoresPerSocket()
Number of cores per socket
|
String |
getCpuFamily()
Type of processor in the system
|
String |
getCpuImplementation()
Model name of processor
|
Double |
getFrequencyInMhz()
Clock frequency of the processor in megahertz
|
String |
getHyperThreadingEnabled()
Indicates if hyper-threading is enabled or not
|
String |
getModel()
CPU model
|
Integer |
getThreadsPerSocket()
Number of threads per socket
|
Integer |
getTotalSockets()
Total number of CPU Sockets
|
String |
getVendorName()
Name of the CPU vendor
|
int |
hashCode() |
HostCpuHardwareConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public HostCpuHardwareConfiguration(Date timeCollected, Integer totalSockets, String vendorName, Double frequencyInMhz, Double cacheInMB, String cpuImplementation, String model, String cpuFamily, Integer coresPerSocket, Integer threadsPerSocket, String hyperThreadingEnabled)
public static HostCpuHardwareConfiguration.Builder builder()
Create a new builder.
public HostCpuHardwareConfiguration.Builder toBuilder()
public Integer getTotalSockets()
Total number of CPU Sockets
public String getVendorName()
Name of the CPU vendor
public Double getFrequencyInMhz()
Clock frequency of the processor in megahertz
public Double getCacheInMB()
Size of cache memory in megabytes
public String getCpuImplementation()
Model name of processor
public String getModel()
CPU model
public String getCpuFamily()
Type of processor in the system
public Integer getCoresPerSocket()
Number of cores per socket
public Integer getThreadsPerSocket()
Number of threads per socket
public String getHyperThreadingEnabled()
Indicates if hyper-threading is enabled or not
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.