Class ThreadCount

java.lang.Object
co.elastic.clients.elasticsearch.nodes.ThreadCount
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • active

      @Nullable public final Long active()
      Number of active threads in the thread pool.

      API name: active

    • completed

      @Nullable public final Long completed()
      Number of tasks completed by the thread pool executor.

      API name: completed

    • largest

      @Nullable public final Long largest()
      Highest number of active threads in the thread pool.

      API name: largest

    • queue

      @Nullable public final Long queue()
      Number of tasks in queue for the thread pool.

      API name: queue

    • rejected

      @Nullable public final Long rejected()
      Number of tasks rejected by the thread pool executor.

      API name: rejected

    • threads

      @Nullable public final Long threads()
      Number of threads in the thread pool.

      API name: threads

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

      protected static void setupThreadCountDeserializer(ObjectDeserializer<ThreadCount.Builder> op)