Class CgroupMemory
java.lang.Object
co.elastic.clients.elasticsearch.nodes.CgroupMemory
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CgroupMemory>Json deserializer forCgroupMemory -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThememorycontrol group to which the Elasticsearch process belongs.final StringThe maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.static CgroupMemoryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final StringThe total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.
-
Field Details
-
_DESERIALIZER
Json deserializer forCgroupMemory
-
-
Method Details
-
of
-
controlGroup
Thememorycontrol group to which the Elasticsearch 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 Elasticsearch 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 Elasticsearch 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
-
toString
-
setupCgroupMemoryDeserializer
-