Class ThreadPoolRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.thread_pool.ThreadPoolRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ThreadPoolRecord>Json deserializer forThreadPoolRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringactive()The number of active threads in the current thread pool.final StringThe number of completed tasks.final Stringcore()The core number of active threads allowed in a scaling thread pool.final StringThe ephemeral node identifier.final Stringhost()The host name for the current node.final Stringip()The IP address for the current node.final StringThe thread keep alive time.final Stringlargest()The highest number of active threads in the current thread pool.final Stringmax()The maximum number of active threads allowed in a scaling thread pool.final Stringname()The thread pool name.final StringnodeId()The persistent node identifier.final StringnodeName()The node name.static ThreadPoolRecordfinal Stringpid()The process identifier.final StringpoolSize()The number of threads in the current thread pool.final Stringport()The bound transport port for the current node.final Stringqueue()The number of tasks currently in queue.final StringThe maximum number of tasks permitted in the queue.final Stringrejected()The number of rejected tasks.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsize()The number of active threads allowed in a fixed thread pool.toString()final Stringtype()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupThreadPoolRecordDeserializer
protected static void setupThreadPoolRecordDeserializer(ObjectDeserializer<ThreadPoolRecord.Builder> op)
-