Class ClusterJvmMemory
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterJvmMemory
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterJvmMemory.Builder,ClusterJvmMemory>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterJvmMemory
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterJvmMemory.Builder,ClusterJvmMemory>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterJvmMemory> Json deserializer forClusterJvmMemory -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterJvmMemory.Builderbuilder()booleaninthashCode()final 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 voidCreate 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 forClusterJvmMemory
-
-
Method Details
-
of
public static ClusterJvmMemory of(Function<ClusterJvmMemory.Builder, ObjectBuilder<ClusterJvmMemory>> fn) -
heapMax
Maximum amount of memory available for use by the heap across all selected nodes.API name:
heap_max -
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 -
heapUsed
Memory currently in use by the heap across all selected nodes.API name:
heap_used -
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 -
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<ClusterJvmMemory.Builder,ClusterJvmMemory> - Returns:
- a new builder instance.
-
builder
-
setupClusterJvmMemoryDeserializer
protected static void setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op) -
hashCode
public int hashCode() -
equals
-