Class ThreadCount
java.lang.Object
co.elastic.clients.elasticsearch.nodes.ThreadCount
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ThreadCount extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
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:threadsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadCount
-
-
Method Details
-
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupThreadCountDeserializer
-