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>
  • Field Details

  • Method Details

    • of

    • active

      @Nullable public final String active()
      The number of active threads in the current thread pool.

      API name: active

    • completed

      @Nullable public final String completed()
      The number of completed tasks.

      API name: completed

    • core

      @Nullable public final String core()
      The core number of active threads allowed in a scaling thread pool.

      API name: core

    • ephemeralNodeId

      @Nullable public final String ephemeralNodeId()
      The ephemeral node identifier.

      API name: ephemeral_node_id

    • host

      @Nullable public final String host()
      The hostname for the current node.

      API name: host

    • ip

      @Nullable public final String ip()
      The IP address for the current node.

      API name: ip

    • keepAlive

      @Nullable public final String keepAlive()
      The thread keep alive time.

      API name: keep_alive

    • largest

      @Nullable public final String largest()
      The highest number of active threads in the current thread pool.

      API name: largest

    • max

      @Nullable public final String max()
      The maximum number of active threads allowed in a scaling thread pool.

      API name: max

    • name

      @Nullable public final String name()
      The thread pool name.

      API name: name

    • nodeId

      @Nullable public final String nodeId()
      API name: node_id
    • nodeName

      @Nullable public final String nodeName()
      The node name.

      API name: node_name

    • pid

      @Nullable public final String pid()
      The process identifier.

      API name: pid

    • poolSize

      @Nullable public final String poolSize()
      The number of threads in the current thread pool.

      API name: pool_size

    • port

      @Nullable public final String port()
      The bound transport port for the current node.

      API name: port

    • queue

      @Nullable public final String queue()
      The number of tasks currently in queue.

      API name: queue

    • queueSize

      @Nullable public final String queueSize()
      The maximum number of tasks permitted in the queue.

      API name: queue_size

    • rejected

      @Nullable public final String rejected()
      The number of rejected tasks.

      API name: rejected

    • size

      @Nullable public final String size()
      The number of active threads allowed in a fixed thread pool.

      API name: size

    • totalWaitTime

      @Nullable public final String totalWaitTime()
      API name: total_wait_time
    • type

      @Nullable public final String type()
      The thread pool type. Returned values include fixed, fixed_auto_queue_size, direct, and scaling.

      API name: type

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toBuilder

      @Nonnull public ThreadPoolRecord.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ThreadPoolRecord.Builder,ThreadPoolRecord>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static ThreadPoolRecord.Builder builder()
    • setupThreadPoolRecordDeserializer

      protected static void setupThreadPoolRecordDeserializer(ObjectDeserializer<ThreadPoolRecord.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object