Class ClusterJvmMemory
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterJvmMemory
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterJvmMemory>Json deserializer forClusterJvmMemory -
Method Summary
Modifier and TypeMethodDescriptionfinal StringheapMax()Maximum amount of memory available for use by the heap across all selected nodes.final longRequired - Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.final StringheapUsed()Memory currently in use by the heap across all selected nodes.final longRequired - Memory, in bytes, currently in use by the heap across all selected nodes.static ClusterJvmMemoryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterJvmMemory
-
-
Method Details
-
of
public static ClusterJvmMemory of(Function<ClusterJvmMemory.Builder, ObjectBuilder<ClusterJvmMemory>> fn) -
heapMaxInBytes
public final long heapMaxInBytes()Required - Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.API name:
heap_max_in_bytes -
heapMax
Maximum amount of memory available for use by the heap across all selected nodes.API name:
heap_max -
heapUsedInBytes
public final long heapUsedInBytes()Required - Memory, in bytes, currently in use by the heap across all selected nodes.API name:
heap_used_in_bytes -
heapUsed
Memory currently in use by the heap across all selected nodes.API name:
heap_used -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterJvmMemoryDeserializer
protected static void setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)
-