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 class
ThreadCount.Builder
Builder forThreadCount
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ThreadCount>
_DESERIALIZER
Json deserializer forThreadCount
-
Method Summary
Modifier and Type Method Description long
active()
Required - API name:active
long
completed()
Required - API name:completed
long
largest()
Required - API name:largest
static ThreadCount
of(java.util.function.Function<ThreadCount.Builder,ObjectBuilder<ThreadCount>> fn)
long
queue()
Required - API name:queue
long
rejected()
Required - API name:rejected
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupThreadCountDeserializer(ObjectDeserializer<ThreadCount.Builder> op)
long
threads()
Required - API name:threads
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupThreadCountDeserializer
-