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 classClusterJvmMemory.BuilderBuilder forClusterJvmMemory. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterJvmMemory>_DESERIALIZERJson deserializer forClusterJvmMemory -
Method Summary
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)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupClusterJvmMemoryDeserializer
protected static void setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)
-