Class ThreadPoolRecord
java.lang.Object
org.opensearch.client.opensearch.cat.thread_pool.ThreadPoolRecord
- All Implemented Interfaces:
ToJsonp
public final class ThreadPoolRecord extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreadPoolRecord.BuilderBuilder forThreadPoolRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ThreadPoolRecord>DESERIALIZERJson deserializer for ThreadPoolRecord -
Constructor Summary
Constructors Modifier Constructor Description protectedThreadPoolRecord(ThreadPoolRecord.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.Stringactive()number of active threads API name:activejava.lang.Stringcompleted()number of completed tasks API name:completedjava.lang.Stringcore()core number of threads in a scaling thread pool API name:corejava.lang.StringephemeralNodeId()ephemeral node id API name:ephemeral_node_idjava.lang.Stringhost()host name API name:hostjava.lang.Stringip()ip address API name:ipjava.lang.StringkeepAlive()thread keep alive time API name:keep_alivejava.lang.Stringlargest()highest number of seen active threads API name:largestjava.lang.Stringmax()maximum number of threads in a scaling thread pool API name:maxjava.lang.Stringname()thread pool name API name:namejava.lang.StringnodeId()persistent node id API name:node_idjava.lang.StringnodeName()node name API name:node_namejava.lang.Stringpid()process id API name:pidjava.lang.StringpoolSize()number of threads API name:pool_sizejava.lang.Stringport()bound transport port API name:portjava.lang.Stringqueue()number of tasks currently in queue API name:queuejava.lang.StringqueueSize()maximum number of tasks permitted in queue API name:queue_sizejava.lang.Stringrejected()number of rejected tasks API name:rejectedprotected static voidsetupThreadPoolRecordDeserializer(DelegatingDeserializer<ThreadPoolRecord.Builder> op)java.lang.Stringsize()number of threads in a fixed thread pool API name:sizevoidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Stringtype()thread pool type API name:type
-
Field Details
-
DESERIALIZER
Json deserializer for ThreadPoolRecord
-
-
Constructor Details
-
Method Details
-
nodeName
@Nullable public java.lang.String nodeName()node name API name:node_name -
nodeId
@Nullable public java.lang.String nodeId()persistent node id API name:node_id -
ephemeralNodeId
@Nullable public java.lang.String ephemeralNodeId()ephemeral node id API name:ephemeral_node_id -
pid
@Nullable public java.lang.String pid()process id API name:pid -
host
@Nullable public java.lang.String host()host name API name:host -
ip
@Nullable public java.lang.String ip()ip address API name:ip -
port
@Nullable public java.lang.String port()bound transport port API name:port -
name
@Nullable public java.lang.String name()thread pool name API name:name -
type
@Nullable public java.lang.String type()thread pool type API name:type -
active
@Nullable public java.lang.String active()number of active threads API name:active -
poolSize
@Nullable public java.lang.String poolSize()number of threads API name:pool_size -
queue
@Nullable public java.lang.String queue()number of tasks currently in queue API name:queue -
queueSize
@Nullable public java.lang.String queueSize()maximum number of tasks permitted in queue API name:queue_size -
rejected
@Nullable public java.lang.String rejected()number of rejected tasks API name:rejected -
largest
@Nullable public java.lang.String largest()highest number of seen active threads API name:largest -
completed
@Nullable public java.lang.String completed()number of completed tasks API name:completed -
core
@Nullable public java.lang.String core()core number of threads in a scaling thread pool API name:core -
max
@Nullable public java.lang.String max()maximum number of threads in a scaling thread pool API name:max -
size
@Nullable public java.lang.String size()number of threads in a fixed thread pool API name:size -
keepAlive
@Nullable public java.lang.String keepAlive()thread keep alive time API name:keep_alive -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupThreadPoolRecordDeserializer
protected static void setupThreadPoolRecordDeserializer(DelegatingDeserializer<ThreadPoolRecord.Builder> op)
-