Class AdaptiveSelection

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

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

  • Method Details

    • of

    • avgQueueSize

      @Nullable public final Long avgQueueSize()
      The exponentially weighted moving average queue size of search requests on the keyed node.

      API name: avg_queue_size

    • avgResponseTime

      @Nullable public final Time avgResponseTime()
      The exponentially weighted moving average response time of search requests on the keyed node.

      API name: avg_response_time

    • avgResponseTimeNs

      @Nullable public final Long avgResponseTimeNs()
      The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.

      API name: avg_response_time_ns

    • avgServiceTime

      @Nullable public final Time avgServiceTime()
      The exponentially weighted moving average service time of search requests on the keyed node.

      API name: avg_service_time

    • avgServiceTimeNs

      @Nullable public final Long avgServiceTimeNs()
      The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.

      API name: avg_service_time_ns

    • outgoingSearches

      @Nullable public final Long outgoingSearches()
      The number of outstanding search requests to the keyed node from the node these stats are for.

      API name: outgoing_searches

    • rank

      @Nullable public final String rank()
      The rank of this node; used for shard selection when routing search requests.

      API name: rank

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

      protected static void setupAdaptiveSelectionDeserializer(ObjectDeserializer<AdaptiveSelection.Builder> op)