Class ClusterJvmMemory
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterJvmMemory
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterJvmMemory extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterJvmMemory.Builder
Builder forClusterJvmMemory
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterJvmMemory>
_DESERIALIZER
Json deserializer forClusterJvmMemory
-
Method Summary
Modifier and Type Method Description long
heapMaxInBytes()
Required - API name:heap_max_in_bytes
long
heapUsedInBytes()
Required - API name:heap_used_in_bytes
static ClusterJvmMemory
of(java.util.function.Function<ClusterJvmMemory.Builder,ObjectBuilder<ClusterJvmMemory>> fn)
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
setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterJvmMemory
-
-
Method Details
-
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupClusterJvmMemoryDeserializer
protected static void setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)
-