Class ThreadPoolRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.thread_pool.ThreadPoolRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ThreadPoolRecord>
Json deserializer forThreadPoolRecord
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
active()
The number of active threads in the current thread pool.final String
The number of completed tasks.final String
core()
The core number of active threads allowed in a scaling thread pool.final String
The ephemeral node identifier.final String
host()
The host name for the current node.final String
ip()
The IP address for the current node.final String
The thread keep alive time.final String
largest()
The highest number of active threads in the current thread pool.final String
max()
The maximum number of active threads allowed in a scaling thread pool.final String
name()
The thread pool name.final String
nodeId()
The persistent node identifier.final String
nodeName()
The node name.static ThreadPoolRecord
final String
pid()
The process identifier.final String
poolSize()
The number of threads in the current thread pool.final String
port()
The bound transport port for the current node.final String
queue()
The number of tasks currently in queue.final String
The maximum number of tasks permitted in the queue.final String
rejected()
The number of rejected tasks.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 String
size()
The number of active threads allowed in a fixed thread pool.toString()
final String
type()
The thread pool type.
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadPoolRecord
-
-
Method Details
-
of
public static ThreadPoolRecord of(Function<ThreadPoolRecord.Builder, ObjectBuilder<ThreadPoolRecord>> fn) -
nodeName
The node name.API name:
node_name
-
nodeId
The persistent node identifier.API name:
node_id
-
ephemeralNodeId
The ephemeral node identifier.API name:
ephemeral_node_id
-
pid
The process identifier.API name:
pid
-
host
The host name for the current node.API name:
host
-
ip
The IP address for the current node.API name:
ip
-
port
The bound transport port for the current node.API name:
port
-
name
The thread pool name.API name:
name
-
type
The thread pool type. Returned values includefixed
,fixed_auto_queue_size
,direct
, andscaling
.API name:
type
-
active
The number of active threads in the current thread pool.API name:
active
-
poolSize
The number of threads in the current thread pool.API name:
pool_size
-
queue
The number of tasks currently in queue.API name:
queue
-
queueSize
The maximum number of tasks permitted in the queue.API name:
queue_size
-
rejected
The number of rejected tasks.API name:
rejected
-
largest
The highest number of active threads in the current thread pool.API name:
largest
-
completed
The number of completed tasks.API name:
completed
-
core
The core number of active threads allowed in a scaling thread pool.API name:
core
-
max
The maximum number of active threads allowed in a scaling thread pool.API name:
max
-
size
The number of active threads allowed in a fixed thread pool.API name:
size
-
keepAlive
The thread keep alive time.API name:
keep_alive
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupThreadPoolRecordDeserializer
protected static void setupThreadPoolRecordDeserializer(ObjectDeserializer<ThreadPoolRecord.Builder> op)
-