Class ClusterJvmMemory
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterJvmMemory
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterJvmMemory extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterJvmMemory.BuilderBuilder forClusterJvmMemory.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterJvmMemory>_DESERIALIZERJson deserializer forClusterJvmMemory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longheapMaxInBytes()Required - API name:heap_max_in_byteslongheapUsedInBytes()Required - API name:heap_used_in_bytesstatic ClusterJvmMemoryof(java.util.function.Function<ClusterJvmMemory.Builder,ObjectBuilder<ClusterJvmMemory>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterJvmMemory> _DESERIALIZER
Json deserializer forClusterJvmMemory
-
-
Method Detail
-
of
public static ClusterJvmMemory of(java.util.function.Function<ClusterJvmMemory.Builder,ObjectBuilder<ClusterJvmMemory>> fn)
-
heapMaxInBytes
public final long heapMaxInBytes()
Required - API name:heap_max_in_bytes
-
heapUsedInBytes
public final long heapUsedInBytes()
Required - API name:heap_used_in_bytes
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClusterJvmMemoryDeserializer
protected static void setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)
-
-