Class AdaptiveSelection
java.lang.Object
co.elastic.clients.elasticsearch.nodes.AdaptiveSelection
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AdaptiveSelection>Json deserializer forAdaptiveSelection -
Method Summary
Modifier and TypeMethodDescriptionfinal LongThe exponentially weighted moving average queue size of search requests on the keyed node.final TimeThe exponentially weighted moving average response time of search requests on the keyed node.final LongThe exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.final TimeThe exponentially weighted moving average service time of search requests on the keyed node.final LongThe exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.static AdaptiveSelectionfinal LongThe number of outstanding search requests to the keyed node from the node these stats are for.final Stringrank()The rank of this node; used for shard selection when routing search requests.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAdaptiveSelectionDeserializer
protected static void setupAdaptiveSelectionDeserializer(ObjectDeserializer<AdaptiveSelection.Builder> op)
-