Class Jvm
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Jvm
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,
NodeBufferPool> Contains statistics about JVM buffer pools for the node.final JvmClasses
classes()
Contains statistics about classes loaded by JVM for the node.final GarbageCollector
gc()
Contains statistics about JVM garbage collectors for the node.final JvmMemoryStats
mem()
Contains JVM memory usage statistics for the node.static Jvm
of
(Function<Jvm.Builder, ObjectBuilder<Jvm>> 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
final JvmThreads
threads()
Contains statistics about JVM thread usage for the node.final Long
Last time JVM statistics were refreshed.toString()
final String
uptime()
Human-readable JVM uptime.final Long
JVM uptime in milliseconds.
-
Field Details
-
_DESERIALIZER
Json deserializer forJvm
-
-
Method Details
-
of
-
bufferPools
Contains statistics about JVM buffer pools for the node.API name:
buffer_pools
-
classes
Contains statistics about classes loaded by JVM for the node.API name:
classes
-
gc
Contains statistics about JVM garbage collectors for the node.API name:
gc
-
mem
Contains JVM memory usage statistics for the node.API name:
mem
-
threads
Contains statistics about JVM thread usage for the node.API name:
threads
-
timestamp
Last time JVM statistics were refreshed.API name:
timestamp
-
uptime
Human-readable JVM uptime. Only returned if thehuman
query parameter istrue
.API name:
uptime
-
uptimeInMillis
JVM uptime in milliseconds.API name:
uptime_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupJvmDeserializer
-