@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AwrDbCpuUsageCollection extends AwrQueryResult
The AWR CPU usage data.
Note: Objects should always be created or deserialized using the AwrDbCpuUsageCollection.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 AwrDbCpuUsageCollection.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AwrDbCpuUsageCollection.Builder |
AwrQueryResult.AwrResultType
Constructor and Description |
---|
AwrDbCpuUsageCollection(String name,
String version,
String queryKey,
Double dbQueryTimeInSecs,
Integer numCpuCores,
Integer cpuCount,
Double numCpus,
List<AwrDbCpuUsageSummary> items)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwrDbCpuUsageCollection.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getCpuCount()
The number of CPUs available for the database to use.
|
List<AwrDbCpuUsageSummary> |
getItems()
A list of AWR CPU usage summary data.
|
Integer |
getNumCpuCores()
The number of available CPU cores, which include subcores of multicore and single-core CPUs.
|
Double |
getNumCpus()
The number of available CPUs or processors.
|
int |
hashCode() |
AwrDbCpuUsageCollection.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDbQueryTimeInSecs, getName, getQueryKey, getVersion
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public AwrDbCpuUsageCollection(String name, String version, String queryKey, Double dbQueryTimeInSecs, Integer numCpuCores, Integer cpuCount, Double numCpus, List<AwrDbCpuUsageSummary> items)
public static AwrDbCpuUsageCollection.Builder builder()
Create a new builder.
public AwrDbCpuUsageCollection.Builder toBuilder()
public Integer getNumCpuCores()
The number of available CPU cores, which include subcores of multicore and single-core CPUs.
public Integer getCpuCount()
The number of CPUs available for the database to use.
public Double getNumCpus()
The number of available CPUs or processors.
public List<AwrDbCpuUsageSummary> getItems()
A list of AWR CPU usage summary data.
public String toString()
toString
in class AwrQueryResult
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AwrQueryResult
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AwrQueryResult
public int hashCode()
hashCode
in class AwrQueryResult
Copyright © 2016–2023. All rights reserved.