Class ClusterJvm
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterJvm
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterJvm>
Json deserializer forClusterJvm
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
Required - Uptime duration, in milliseconds, since JVM last started.final ClusterJvmMemory
mem()
Required - Contains statistics about memory used by selected nodes.static ClusterJvm
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 long
threads()
Required - Number of active threads in use by JVM across all selected nodes.toString()
final List<ClusterJvmVersion>
versions()
Required - Contains statistics about the JVM versions used by selected nodes.
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterJvm
-
-
Method Details
-
of
-
maxUptimeInMillis
public final long maxUptimeInMillis()Required - Uptime duration, in milliseconds, since JVM last started.API name:
max_uptime_in_millis
-
mem
Required - Contains statistics about memory used by selected nodes.API name:
mem
-
threads
public final long threads()Required - Number of active threads in use by JVM across all selected nodes.API name:
threads
-
versions
Required - Contains statistics about the JVM versions used by selected nodes.API name:
versions
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterJvmDeserializer
-