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()
number of active threadsfinal String
number of completed tasksfinal String
core()
core number of threads in a scaling thread poolfinal String
ephemeral node idfinal String
host()
host namefinal String
ip()
ip addressfinal String
thread keep alive timefinal String
largest()
highest number of seen active threadsfinal String
max()
maximum number of threads in a scaling thread poolfinal String
name()
thread pool namefinal String
nodeId()
persistent node idfinal String
nodeName()
node namestatic ThreadPoolRecord
final String
pid()
process idfinal String
poolSize()
number of threadsfinal String
port()
bound transport portfinal String
queue()
number of tasks currently in queuefinal String
maximum number of tasks permitted in queuefinal String
rejected()
number of rejected tasksvoid
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()
number of threads in a fixed thread pooltoString()
final String
type()
thread pool type
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadPoolRecord
-
-
Method Details
-
of
public static ThreadPoolRecord of(Function<ThreadPoolRecord.Builder, ObjectBuilder<ThreadPoolRecord>> fn) -
nodeName
node nameAPI name:
node_name
-
nodeId
persistent node idAPI name:
node_id
-
ephemeralNodeId
ephemeral node idAPI name:
ephemeral_node_id
-
pid
process idAPI name:
pid
-
host
host nameAPI name:
host
-
ip
ip addressAPI name:
ip
-
port
bound transport portAPI name:
port
-
name
thread pool nameAPI name:
name
-
type
thread pool typeAPI name:
type
-
active
number of active threadsAPI name:
active
-
poolSize
number of threadsAPI name:
pool_size
-
queue
number of tasks currently in queueAPI name:
queue
-
queueSize
maximum number of tasks permitted in queueAPI name:
queue_size
-
rejected
number of rejected tasksAPI name:
rejected
-
largest
highest number of seen active threadsAPI name:
largest
-
completed
number of completed tasksAPI name:
completed
-
core
core number of threads in a scaling thread poolAPI name:
core
-
max
maximum number of threads in a scaling thread poolAPI name:
max
-
size
number of threads in a fixed thread poolAPI name:
size
-
keepAlive
thread keep alive timeAPI 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)
-