Class ThreadPoolRecord
java.lang.Object
org.opensearch.client.opensearch.cat.thread_pool.ThreadPoolRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ThreadPoolRecord.Builder,ThreadPoolRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ThreadPoolRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ThreadPoolRecord.Builder,ThreadPoolRecord>
-
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.static ThreadPoolRecord.Builderbuilder()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.booleaninthashCode()final Stringhost()The hostname 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()API name:node_idfinal 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.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringAPI name:total_wait_timefinal Stringtype()The thread pool type.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forThreadPoolRecord
-
-
Method Details
-
of
public static ThreadPoolRecord of(Function<ThreadPoolRecord.Builder, ObjectBuilder<ThreadPoolRecord>> fn) -
active
The number of active threads in the current thread pool.API name:
active -
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 -
ephemeralNodeId
The ephemeral node identifier.API name:
ephemeral_node_id -
host
The hostname for the current node.API name:
host -
ip
The IP address for the current node.API name:
ip -
keepAlive
The thread keep alive time.API name:
keep_alive -
largest
The highest number of active threads in the current thread pool.API name:
largest -
max
The maximum number of active threads allowed in a scaling thread pool.API name:
max -
name
The thread pool name.API name:
name -
nodeId
API name:node_id -
nodeName
The node name.API name:
node_name -
pid
The process identifier.API name:
pid -
poolSize
The number of threads in the current thread pool.API name:
pool_size -
port
The bound transport port for the current node.API name:
port -
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 -
size
The number of active threads allowed in a fixed thread pool.API name:
size -
totalWaitTime
API name:total_wait_time -
type
The thread pool type. Returned values includefixed,fixed_auto_queue_size,direct, andscaling.API name:
type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ThreadPoolRecord.Builder,ThreadPoolRecord> - Returns:
- a new builder instance.
-
builder
-
setupThreadPoolRecordDeserializer
protected static void setupThreadPoolRecordDeserializer(ObjectDeserializer<ThreadPoolRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-