Class AdaptiveSelection
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.AdaptiveSelection
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AdaptiveSelection.Builder,AdaptiveSelection>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AdaptiveSelection
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AdaptiveSelection.Builder,AdaptiveSelection>
-
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 TimeAPI name:avg_response_timefinal LongThe exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.final TimeAPI name:avg_service_timefinal LongThe exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.static AdaptiveSelection.Builderbuilder()booleaninthashCode()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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
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
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
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
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AdaptiveSelection.Builder,AdaptiveSelection> - Returns:
- a new builder instance.
-
builder
-
setupAdaptiveSelectionDeserializer
protected static void setupAdaptiveSelectionDeserializer(ObjectDeserializer<AdaptiveSelection.Builder> op) -
hashCode
public int hashCode() -
equals
-