Class ThreadPoolRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.thread_pool.ThreadPoolRecord
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ThreadPoolRecord extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • nodeName

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

      API name: node_name

    • nodeId

      @Nullable public final String nodeId()
      The persistent node identifier.

      API name: node_id

    • ephemeralNodeId

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

      API name: ephemeral_node_id

    • pid

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

      API name: pid

    • host

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

      API name: host

    • ip

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

      API name: ip

    • port

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

      API name: port

    • name

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

      API name: name

    • type

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

      API name: type

    • active

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

      API name: active

    • poolSize

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

      API name: pool_size

    • 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

    • largest

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

      API name: largest

    • 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

    • max

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

      API name: max

    • size

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

      API name: size

    • keepAlive

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

      API name: keep_alive

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupThreadPoolRecordDeserializer

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