@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class DBOSConfigInstance extends DatabaseConfigurationMetricGroup
Configuration parameters defined for external databases instance level.
Note: Objects should always be created or deserialized using the DBOSConfigInstance.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 DBOSConfigInstance.Builder
, which maintain a
set of all explicitly set fields called DBOSConfigInstance.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 |
DBOSConfigInstance.Builder |
DatabaseConfigurationMetricGroup.MetricName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DBOSConfigInstance(Date timeCollected,
String instanceName,
String hostName,
Integer numCPUs,
Integer numCPUCores,
Integer numCPUSockets,
Double physicalMemoryBytes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DBOSConfigInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getHostName()
Host name of the database instance.
|
String |
getInstanceName()
Name of the database instance.
|
Integer |
getNumCPUCores()
Number of CPU cores available (includes subcores of multicore CPUs as well as single-core
CPUs).
|
Integer |
getNumCPUs()
Total number of CPUs available.
|
Integer |
getNumCPUSockets()
Number of CPU Sockets available.
|
Double |
getPhysicalMemoryBytes()
Total number of bytes of physical memory.
|
int |
hashCode() |
DBOSConfigInstance.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static DBOSConfigInstance.Builder builder()
Create a new builder.
public DBOSConfigInstance.Builder toBuilder()
public String getInstanceName()
Name of the database instance.
public String getHostName()
Host name of the database instance.
public Integer getNumCPUs()
Total number of CPUs available.
public Integer getNumCPUCores()
Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).
public Integer getNumCPUSockets()
Number of CPU Sockets available.
public Double getPhysicalMemoryBytes()
Total number of bytes of physical memory.
public String toString()
toString
in class DatabaseConfigurationMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DatabaseConfigurationMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DatabaseConfigurationMetricGroup
public int hashCode()
hashCode
in class DatabaseConfigurationMetricGroup
Copyright © 2016–2024. All rights reserved.