Class JvmThreads
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.JvmThreads
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<JvmThreads.Builder,JvmThreads>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class JvmThreads
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<JvmThreads.Builder,JvmThreads>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<JvmThreads> Json deserializer forJvmThreads -
Method Summary
Modifier and TypeMethodDescriptionstatic JvmThreads.Builderbuilder()final Longcount()Number of active threads in use by JVM.booleaninthashCode()static JvmThreadsfinal LongHighest number of threads used by JVM.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forJvmThreads
-
-
Method Details
-
of
-
count
Number of active threads in use by JVM.API name:
count -
peakCount
Highest number of threads used by JVM.API name:
peak_count -
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<JvmThreads.Builder,JvmThreads> - Returns:
- a new builder instance.
-
builder
-
setupJvmThreadsDeserializer
-
hashCode
public int hashCode() -
equals
-