Class CgroupCpuStat
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.CgroupCpuStat
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CgroupCpuStat.Builder,CgroupCpuStat>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CgroupCpuStat
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CgroupCpuStat.Builder,CgroupCpuStat>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CgroupCpuStat> Json deserializer forCgroupCpuStat -
Method Summary
Modifier and TypeMethodDescriptionstatic CgroupCpuStat.Builderbuilder()booleaninthashCode()final LongThe number of reporting periods (as specified bycfs_period_micros) that have elapsed.final LongThe number of times all tasks in the same cgroup as the OpenSearch process have been throttled.static CgroupCpuStatvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal LongAPI name:time_throttled_nanosCreate 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 forCgroupCpuStat
-
-
Method Details
-
of
-
numberOfElapsedPeriods
The number of reporting periods (as specified bycfs_period_micros) that have elapsed.API name:
number_of_elapsed_periods -
numberOfTimesThrottled
The number of times all tasks in the same cgroup as the OpenSearch process have been throttled.API name:
number_of_times_throttled -
timeThrottledNanos
API name:time_throttled_nanos -
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<CgroupCpuStat.Builder,CgroupCpuStat> - Returns:
- a new builder instance.
-
builder
-
setupCgroupCpuStatDeserializer
-
hashCode
public int hashCode() -
equals
-