Class CgroupMemory
java.lang.Object
co.elastic.clients.elasticsearch.nodes.CgroupMemory
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<CgroupMemory>
Json deserializer forCgroupMemory
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Thememory
control group to which the Elasticsearch process belongs.final String
The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.static CgroupMemory
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final String
The 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
Thememory
control 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 along
almost 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCgroupMemoryDeserializer
-