@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AwrDatabaseCpuUsageCollection extends AwrQueryResult
The AWR CPU usage data.
Note: Objects should always be created or deserialized using the AwrDatabaseCpuUsageCollection.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 AwrDatabaseCpuUsageCollection.Builder
, which maintain a
set of all explicitly set fields called AwrDatabaseCpuUsageCollection.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 |
AwrDatabaseCpuUsageCollection.Builder |
AwrQueryResult.AwrResultType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AwrDatabaseCpuUsageCollection(String name,
String version,
Double dbQueryTimeInSecs,
Integer numCpuCores,
Integer databaseCpuCount,
Double hostCpuCount,
List<AwrDatabaseCpuUsageSummary> items)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwrDatabaseCpuUsageCollection.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getDatabaseCpuCount()
The number of CPUs available for the database to use.
|
Double |
getHostCpuCount()
The number of available CPUs or processors.
|
List<AwrDatabaseCpuUsageSummary> |
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.
|
int |
hashCode() |
AwrDatabaseCpuUsageCollection.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDbQueryTimeInSecs, getName, getVersion
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public AwrDatabaseCpuUsageCollection(String name, String version, Double dbQueryTimeInSecs, Integer numCpuCores, Integer databaseCpuCount, Double hostCpuCount, List<AwrDatabaseCpuUsageSummary> items)
public static AwrDatabaseCpuUsageCollection.Builder builder()
Create a new builder.
public AwrDatabaseCpuUsageCollection.Builder toBuilder()
public Integer getNumCpuCores()
The number of available CPU cores, which include subcores of multicore and single-core CPUs.
public Integer getDatabaseCpuCount()
The number of CPUs available for the database to use.
public Double getHostCpuCount()
The number of available CPUs or processors.
public List<AwrDatabaseCpuUsageSummary> 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–2024. All rights reserved.