Class WatcherNodeStats

java.lang.Object
co.elastic.clients.elasticsearch.watcher.stats.WatcherNodeStats
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

      public static WatcherNodeStats of​(java.util.function.Function<WatcherNodeStats.Builder,​ObjectBuilder<WatcherNodeStats>> fn)
    • currentWatches

      public final java.util.List<WatchRecordStats> currentWatches()
      API name: current_watches
    • executionThreadPool

      public final ExecutionThreadPool executionThreadPool()
      Required - API name: execution_thread_pool
    • queuedWatches

      public final java.util.List<WatchRecordQueuedStats> queuedWatches()
      API name: queued_watches
    • watchCount

      public final long watchCount()
      Required - API name: watch_count
    • watcherState

      public final WatcherState watcherState()
      Required - API name: watcher_state
    • nodeId

      public final java.lang.String nodeId()
      Required - API name: node_id
    • 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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupWatcherNodeStatsDeserializer

      protected static void setupWatcherNodeStatsDeserializer​(ObjectDeserializer<WatcherNodeStats.Builder> op)