Class ThreadPoolRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.thread_pool.ThreadPoolRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ThreadPoolRecord extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThreadPoolRecord.Builder
Builder forThreadPoolRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ThreadPoolRecord>
_DESERIALIZER
Json deserializer forThreadPoolRecord
-
Method Summary
Modifier and Type Method Description java.lang.String
active()
number of active threadsjava.lang.String
completed()
number of completed tasksjava.lang.String
core()
core number of threads in a scaling thread pooljava.lang.String
ephemeralNodeId()
ephemeral node idjava.lang.String
host()
host namejava.lang.String
ip()
ip addressjava.lang.String
keepAlive()
thread keep alive timejava.lang.String
largest()
highest number of seen active threadsjava.lang.String
max()
maximum number of threads in a scaling thread pooljava.lang.String
name()
thread pool namejava.lang.String
nodeId()
persistent node idjava.lang.String
nodeName()
node namestatic ThreadPoolRecord
of(java.util.function.Function<ThreadPoolRecord.Builder,ObjectBuilder<ThreadPoolRecord>> fn)
java.lang.String
pid()
process idjava.lang.String
poolSize()
number of threadsjava.lang.String
port()
bound transport portjava.lang.String
queue()
number of tasks currently in queuejava.lang.String
queueSize()
maximum number of tasks permitted in queuejava.lang.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
setupThreadPoolRecordDeserializer(ObjectDeserializer<ThreadPoolRecord.Builder> op)
java.lang.String
size()
number of threads in a fixed thread pooljava.lang.String
type()
thread pool typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadPoolRecord
-
-
Method Details
-
of
public static ThreadPoolRecord of(java.util.function.Function<ThreadPoolRecord.Builder,ObjectBuilder<ThreadPoolRecord>> fn) -
nodeName
@Nullable public final java.lang.String nodeName()node nameAPI name:
node_name
-
nodeId
@Nullable public final java.lang.String nodeId()persistent node idAPI name:
node_id
-
ephemeralNodeId
@Nullable public final java.lang.String ephemeralNodeId()ephemeral node idAPI name:
ephemeral_node_id
-
pid
@Nullable public final java.lang.String pid()process idAPI name:
pid
-
host
@Nullable public final java.lang.String host()host nameAPI name:
host
-
ip
@Nullable public final java.lang.String ip()ip addressAPI name:
ip
-
port
@Nullable public final java.lang.String port()bound transport portAPI name:
port
-
name
@Nullable public final java.lang.String name()thread pool nameAPI name:
name
-
type
@Nullable public final java.lang.String type()thread pool typeAPI name:
type
-
active
@Nullable public final java.lang.String active()number of active threadsAPI name:
active
-
poolSize
@Nullable public final java.lang.String poolSize()number of threadsAPI name:
pool_size
-
queue
@Nullable public final java.lang.String queue()number of tasks currently in queueAPI name:
queue
-
queueSize
@Nullable public final java.lang.String queueSize()maximum number of tasks permitted in queueAPI name:
queue_size
-
rejected
@Nullable public final java.lang.String rejected()number of rejected tasksAPI name:
rejected
-
largest
@Nullable public final java.lang.String largest()highest number of seen active threadsAPI name:
largest
-
completed
@Nullable public final java.lang.String completed()number of completed tasksAPI name:
completed
-
core
@Nullable public final java.lang.String core()core number of threads in a scaling thread poolAPI name:
core
-
max
@Nullable public final java.lang.String max()maximum number of threads in a scaling thread poolAPI name:
max
-
size
@Nullable public final java.lang.String size()number of threads in a fixed thread poolAPI name:
size
-
keepAlive
@Nullable public final java.lang.String keepAlive()thread keep alive timeAPI name:
keep_alive
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupThreadPoolRecordDeserializer
protected static void setupThreadPoolRecordDeserializer(ObjectDeserializer<ThreadPoolRecord.Builder> op)
-