Class ThreadPoolRecord

All Implemented Interfaces:

public class ThreadPoolRecord
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • 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 name

      API name: node_name

    • nodeId

      @Nullable public final java.lang.String nodeId()
      persistent node id

      API name: node_id

    • ephemeralNodeId

      @Nullable public final java.lang.String ephemeralNodeId()
      ephemeral node id

      API name: ephemeral_node_id

    • pid

      @Nullable public final java.lang.String pid()
      process id

      API name: pid

    • host

      @Nullable public final java.lang.String host()
      host name

      API name: host

    • ip

      @Nullable public final java.lang.String ip()
      ip address

      API name: ip

    • port

      @Nullable public final java.lang.String port()
      bound transport port

      API name: port

    • name

      @Nullable public final java.lang.String name()
      thread pool name

      API name: name

    • type

      @Nullable public final java.lang.String type()
      thread pool type

      API name: type

    • active

      @Nullable public final java.lang.String active()
      number of active threads

      API name: active

    • poolSize

      @Nullable public final java.lang.String poolSize()
      number of threads

      API name: pool_size

    • queue

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

      API name: queue

    • queueSize

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

      API name: queue_size

    • rejected

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

      API name: rejected

    • largest

      @Nullable public final java.lang.String largest()
      highest number of seen active threads

      API name: largest

    • completed

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

      API name: completed

    • core

      @Nullable public final java.lang.String core()
      core number of threads in a scaling thread pool

      API name: core

    • max

      @Nullable public final java.lang.String max()
      maximum number of threads in a scaling thread pool

      API name: max

    • size

      @Nullable public final java.lang.String size()
      number of threads in a fixed thread pool

      API name: size

    • keepAlive

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

      API name: keep_alive

    • serialize

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

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupThreadPoolRecordDeserializer

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