Class CgroupMemoryStats
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.CgroupMemoryStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CgroupMemoryStats.Builder,CgroupMemoryStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CgroupMemoryStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CgroupMemoryStats.Builder,CgroupMemoryStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CgroupMemoryStats> Json deserializer forCgroupMemoryStats -
Method Summary
Modifier and TypeMethodDescriptionstatic CgroupMemoryStats.Builderbuilder()final StringThememorycontrol group to which the OpenSearch process belongs.booleaninthashCode()final StringThe maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the OpenSearch process.static CgroupMemoryStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringThe total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the OpenSearch process.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 forCgroupMemoryStats
-
-
Method Details
-
of
public static CgroupMemoryStats of(Function<CgroupMemoryStats.Builder, ObjectBuilder<CgroupMemoryStats>> fn) -
controlGroup
Thememorycontrol group to which the OpenSearch process belongs.API name:
control_group -
limitInBytes
The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the OpenSearch process. This value can be too big to store in along, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns. Any value that is too large to parse into alongalmost certainly means no limit has been set for the cgroup.API name:
limit_in_bytes -
usageInBytes
The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the OpenSearch process. This value is stored as a string for consistency withlimit_in_bytes.API name:
usage_in_bytes -
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<CgroupMemoryStats.Builder,CgroupMemoryStats> - Returns:
- a new builder instance.
-
builder
-
setupCgroupMemoryStatsDeserializer
protected static void setupCgroupMemoryStatsDeserializer(ObjectDeserializer<CgroupMemoryStats.Builder> op) -
hashCode
public int hashCode() -
equals
-