Class ThreadCount
- java.lang.Object
-
- org.opensearch.client.opensearch.nodes.ThreadCount
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ThreadCount extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreadCount.BuilderBuilder forThreadCount.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ThreadCount>_DESERIALIZERJson deserializer forThreadCount
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longactive()Required - API name:activelongcompleted()Required - API name:completedlonglargest()Required - API name:largeststatic ThreadCountof(java.util.function.Function<ThreadCount.Builder,ObjectBuilder<ThreadCount>> fn)longqueue()Required - API name:queuelongrejected()Required - API name:rejectedvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupThreadCountDeserializer(ObjectDeserializer<ThreadCount.Builder> op)longthreads()Required - API name:threads
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ThreadCount> _DESERIALIZER
Json deserializer forThreadCount
-
-
Method Detail
-
of
public static ThreadCount of(java.util.function.Function<ThreadCount.Builder,ObjectBuilder<ThreadCount>> fn)
-
active
public final long active()
Required - API name:active
-
completed
public final long completed()
Required - API name:completed
-
largest
public final long largest()
Required - API name:largest
-
queue
public final long queue()
Required - API name:queue
-
rejected
public final long rejected()
Required - API name:rejected
-
threads
public final long threads()
Required - API name:threads
-
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)
-
setupThreadCountDeserializer
protected static void setupThreadCountDeserializer(ObjectDeserializer<ThreadCount.Builder> op)
-
-