Class ThreadCount
java.lang.Object
co.elastic.clients.elasticsearch.nodes.ThreadCount
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final 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 -
Constructor Summary
Constructors Constructor Description ThreadCount(ThreadCount.Builder builder)ThreadCount(java.util.function.Function<ThreadCount.Builder,ThreadCount.Builder> fn) -
Method Summary
Modifier and Type Method Description longactive()Required - API name:activelongcompleted()Required - API name:completedlonglargest()Required - API name:largestlongqueue()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(DelegatingDeserializer<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
-
-
Constructor Details
-
ThreadCount
-
ThreadCount
-
-
Method Details
-
active
public long active()Required - API name:active -
completed
public long completed()Required - API name:completed -
largest
public long largest()Required - API name:largest -
queue
public long queue()Required - API name:queue -
rejected
public long rejected()Required - API name:rejected -
threads
public long threads()Required - API name:threads -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupThreadCountDeserializer
-