Class ThreadCount
java.lang.Object
co.elastic.clients.elasticsearch.nodes.ThreadCount
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ThreadCount>
Json deserializer forThreadCount
-
Method Summary
Modifier and TypeMethodDescriptionfinal Long
active()
Number of active threads in the thread pool.final Long
Number of tasks completed by the thread pool executor.final Long
largest()
Highest number of active threads in the thread pool.static ThreadCount
final Long
queue()
Number of tasks in queue for the thread pool.final Long
rejected()
Number of tasks rejected by the thread pool executor.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
final Long
threads()
Number of threads in the thread pool.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadCount
-
-
Method Details
-
of
-
active
Number of active threads in the thread pool.API name:
active
-
completed
Number of tasks completed by the thread pool executor.API name:
completed
-
largest
Highest number of active threads in the thread pool.API name:
largest
-
queue
Number of tasks in queue for the thread pool.API name:
queue
-
rejected
Number of tasks rejected by the thread pool executor.API name:
rejected
-
threads
Number of threads in the thread pool.API name:
threads
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupThreadCountDeserializer
-