Class Jvm
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.Jvm
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Jvm.Builder,Jvm>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Jvm
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Jvm.Builder,Jvm>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String, NodeBufferPool> Contains statistics about JVM buffer pools for the node.static Jvm.Builderbuilder()final JvmClassesclasses()API name:classesbooleanfinal GarbageCollectorgc()API name:gcinthashCode()final JvmMemoryStatsmem()API name:memstatic Jvmof(Function<Jvm.Builder, ObjectBuilder<Jvm>> 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 voidfinal JvmThreadsthreads()API name:threadsfinal LongLast time JVM statistics were refreshed.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Timeuptime()Human-readable JVM uptime.final LongJVM uptime in milliseconds.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 forJvm
-
-
Method Details
-
of
-
bufferPools
Contains statistics about JVM buffer pools for the node.API name:
buffer_pools -
classes
API name:classes -
gc
API name:gc -
mem
API name:mem -
threads
API name:threads -
timestamp
Last time JVM statistics were refreshed.API name:
timestamp -
uptime
Human-readable JVM uptime. Only returned if thehumanquery parameter istrue.API name:
uptime -
uptimeInMillis
JVM uptime in milliseconds.API name:
uptime_in_millis -
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<Jvm.Builder,Jvm> - Returns:
- a new builder instance.
-
builder
-
setupJvmDeserializer
-
hashCode
public int hashCode() -
equals
-