Class ClusterJvm
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterJvm
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterJvm extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterJvm.BuilderBuilder forClusterJvm.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterJvm>_DESERIALIZERJson deserializer forClusterJvm
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longmaxUptimeInMillis()Required - API name:max_uptime_in_millisClusterJvmMemorymem()Required - API name:memstatic ClusterJvmof(java.util.function.Function<ClusterJvm.Builder,ObjectBuilder<ClusterJvm>> 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 voidsetupClusterJvmDeserializer(ObjectDeserializer<ClusterJvm.Builder> op)longthreads()Required - API name:threadsjava.util.List<ClusterJvmVersion>versions()Required - API name:versions
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterJvm> _DESERIALIZER
Json deserializer forClusterJvm
-
-
Method Detail
-
of
public static ClusterJvm of(java.util.function.Function<ClusterJvm.Builder,ObjectBuilder<ClusterJvm>> fn)
-
maxUptimeInMillis
public final long maxUptimeInMillis()
Required - API name:max_uptime_in_millis
-
mem
public final ClusterJvmMemory mem()
Required - API name:mem
-
threads
public final long threads()
Required - API name:threads
-
versions
public final java.util.List<ClusterJvmVersion> versions()
Required - API name:versions
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClusterJvmDeserializer
protected static void setupClusterJvmDeserializer(ObjectDeserializer<ClusterJvm.Builder> op)
-
-