Class ThreadInfo
java.lang.Object
org.opensearch.client.opensearch._types.ThreadInfo
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ThreadInfo.Builder,ThreadInfo>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ThreadInfo
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ThreadInfo.Builder,ThreadInfo>
The information about thread usage.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ThreadInfo> Json deserializer forThreadInfo -
Method Summary
Modifier and TypeMethodDescriptionfinal NumberRequired - The number of currently active threads.static ThreadInfo.Builderbuilder()booleaninthashCode()static ThreadInfovoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal NumberRequired - The number of thread executions.Create 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 forThreadInfo
-
-
Method Details
-
of
-
activeThreads
Required - The number of currently active threads.API name:
active_threads -
threadExecutions
Required - The number of thread executions.API name:
thread_executions -
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<ThreadInfo.Builder,ThreadInfo> - Returns:
- a new builder instance.
-
builder
-
setupThreadInfoDeserializer
-
hashCode
public int hashCode() -
equals
-