Class NodeInfoJvmMemory
java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeInfoJvmMemory
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NodeInfoJvmMemory.Builder,NodeInfoJvmMemory>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NodeInfoJvmMemory
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<NodeInfoJvmMemory.Builder,NodeInfoJvmMemory>
Provides JVM memory settings and statistics.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeInfoJvmMemory> Json deserializer forNodeInfoJvmMemory -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeInfoJvmMemory.Builderbuilder()final StringAPI name:direct_maxfinal longRequired - API name:direct_max_in_bytesbooleaninthashCode()final StringheapInit()API name:heap_initfinal longRequired - API name:heap_init_in_bytesfinal StringheapMax()API name:heap_maxfinal longRequired - API name:heap_max_in_bytesfinal StringAPI name:non_heap_initfinal longRequired - API name:non_heap_init_in_bytesfinal StringAPI name:non_heap_maxfinal longRequired - API name:non_heap_max_in_bytesstatic NodeInfoJvmMemoryvoidserialize(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 forNodeInfoJvmMemory
-
-
Method Details
-
of
public static NodeInfoJvmMemory of(Function<NodeInfoJvmMemory.Builder, ObjectBuilder<NodeInfoJvmMemory>> fn) -
directMax
API name:direct_max -
directMaxInBytes
public final long directMaxInBytes()Required - API name:direct_max_in_bytes -
heapInit
API name:heap_init -
heapInitInBytes
public final long heapInitInBytes()Required - API name:heap_init_in_bytes -
heapMax
API name:heap_max -
heapMaxInBytes
public final long heapMaxInBytes()Required - API name:heap_max_in_bytes -
nonHeapInit
API name:non_heap_init -
nonHeapInitInBytes
public final long nonHeapInitInBytes()Required - API name:non_heap_init_in_bytes -
nonHeapMax
API name:non_heap_max -
nonHeapMaxInBytes
public final long nonHeapMaxInBytes()Required - API name:non_heap_max_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<NodeInfoJvmMemory.Builder,NodeInfoJvmMemory> - Returns:
- a new builder instance.
-
builder
-
setupNodeInfoJvmMemoryDeserializer
protected static void setupNodeInfoJvmMemoryDeserializer(ObjectDeserializer<NodeInfoJvmMemory.Builder> op) -
hashCode
public int hashCode() -
equals
-