Class AdaptiveSelection
java.lang.Object
co.elastic.clients.elasticsearch.nodes.AdaptiveSelection
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<AdaptiveSelection>
Json deserializer forAdaptiveSelection
-
Method Summary
Modifier and TypeMethodDescriptionfinal Long
The exponentially weighted moving average queue size of search requests on the keyed node.final Time
The exponentially weighted moving average response time of search requests on the keyed node.final Long
The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.final Time
The exponentially weighted moving average service time of search requests on the keyed node.final Long
The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.static AdaptiveSelection
final Long
The number of outstanding search requests to the keyed node from the node these stats are for.final String
rank()
The rank of this node; used for shard selection when routing search requests.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAdaptiveSelection
-
-
Method Details
-
of
public static AdaptiveSelection of(Function<AdaptiveSelection.Builder, ObjectBuilder<AdaptiveSelection>> fn) -
avgQueueSize
The exponentially weighted moving average queue size of search requests on the keyed node.API name:
avg_queue_size
-
avgResponseTime
The exponentially weighted moving average response time of search requests on the keyed node.API name:
avg_response_time
-
avgResponseTimeNs
The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.API name:
avg_response_time_ns
-
avgServiceTime
The exponentially weighted moving average service time of search requests on the keyed node.API name:
avg_service_time
-
avgServiceTimeNs
The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.API name:
avg_service_time_ns
-
outgoingSearches
The number of outstanding search requests to the keyed node from the node these stats are for.API name:
outgoing_searches
-
rank
The rank of this node; used for shard selection when routing search requests.API name:
rank
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAdaptiveSelectionDeserializer
protected static void setupAdaptiveSelectionDeserializer(ObjectDeserializer<AdaptiveSelection.Builder> op)
-