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 java.lang.Long
active()
API name:active
java.lang.Long
completed()
API name:completed
java.lang.Long
largest()
API name:largest
static ThreadCount
of(java.util.function.Function<ThreadCount.Builder,ObjectBuilder<ThreadCount>> fn)
java.lang.Long
queue()
API name:queue
java.lang.Long
rejected()
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)
java.lang.Long
threads()
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
@Nullable public final java.lang.Long active()API name:active
-
completed
@Nullable public final java.lang.Long completed()API name:completed
-
largest
@Nullable public final java.lang.Long largest()API name:largest
-
queue
@Nullable public final java.lang.Long queue()API name:queue
-
rejected
@Nullable public final java.lang.Long rejected()API name:rejected
-
threads
@Nullable public final java.lang.Long threads()API name:threads
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupThreadCountDeserializer
-