public interface SelectionStrategy
Endpoint
.Modifier and Type | Method and Description |
---|---|
Endpoint |
select(CouchbaseRequest request,
List<Endpoint> endpoints)
Selects an
Endpoint for the given CouchbaseRequest . |
Endpoint select(CouchbaseRequest request, List<Endpoint> endpoints)
Endpoint
for the given CouchbaseRequest
.
If null is returned, it means that no endpoint could be selected and it is up to the calling party
to decide what to do next.request
- the input request.endpoints
- all the available endpoints.Copyright © 2021 Couchbase, Inc.. All rights reserved.