Class ClusterJvm
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterJvm
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterJvm.Builder,ClusterJvm>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterJvm
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterJvm.Builder,ClusterJvm>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterJvm> Json deserializer forClusterJvm -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterJvm.Builderbuilder()booleaninthashCode()final TimeAPI name:max_uptimefinal longRequired - API name:max_uptime_in_millisfinal ClusterJvmMemorymem()Required - API name:memstatic ClusterJvmvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longthreads()Required - Number of active threads in use by JVM across all selected nodes.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final List<ClusterJvmVersion> versions()Contains statistics about the JVM versions used by selected nodes.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterJvm
-
-
Method Details
-
of
-
maxUptime
API name:max_uptime -
maxUptimeInMillis
public final long maxUptimeInMillis()Required - API name:max_uptime_in_millis -
mem
Required - 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
Contains statistics about the JVM versions used by selected nodes.API name:
versions -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterJvm.Builder,ClusterJvm> - Returns:
- a new builder instance.
-
builder
-
setupClusterJvmDeserializer
-
hashCode
public int hashCode() -
equals
-