Class CgroupCpuStats
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.CgroupCpuStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CgroupCpuStats.Builder,CgroupCpuStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CgroupCpuStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CgroupCpuStats.Builder,CgroupCpuStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CgroupCpuStats> Json deserializer forCgroupCpuStats -
Method Summary
Modifier and TypeMethodDescriptionstatic CgroupCpuStats.Builderbuilder()final LongThe period of time, in microseconds, for how regularly all tasks in the same cgroup as the OpenSearch process should have their access to CPU resources reallocated.final LongThe total amount of time, in microseconds, for which all tasks in the same cgroup as the OpenSearch process can run during one periodcfs_period_micros.final StringThecpucontrol group to which the OpenSearch process belongs.booleaninthashCode()static CgroupCpuStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal CgroupCpuStatstat()API name:statCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCgroupCpuStats
-
-
Method Details
-
of
-
cfsPeriodMicros
The period of time, in microseconds, for how regularly all tasks in the same cgroup as the OpenSearch process should have their access to CPU resources reallocated.API name:
cfs_period_micros -
cfsQuotaMicros
The total amount of time, in microseconds, for which all tasks in the same cgroup as the OpenSearch process can run during one periodcfs_period_micros.API name:
cfs_quota_micros -
controlGroup
Thecpucontrol group to which the OpenSearch process belongs.API name:
control_group -
stat
API name:stat -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CgroupCpuStats.Builder,CgroupCpuStats> - Returns:
- a new builder instance.
-
builder
-
setupCgroupCpuStatsDeserializer
protected static void setupCgroupCpuStatsDeserializer(ObjectDeserializer<CgroupCpuStats.Builder> op) -
hashCode
public int hashCode() -
equals
-