Class PartitionSelectionStrategy
java.lang.Object
com.couchbase.client.core.service.strategy.PartitionSelectionStrategy
- All Implemented Interfaces:
EndpointSelectionStrategy
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PartitionSelectionStrategy
public PartitionSelectionStrategy()
-
-
Method Details
-
select
Description copied from interface:EndpointSelectionStrategy
Selects anEndpoint
for the givenRequest
.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.
- Specified by:
select
in interfaceEndpointSelectionStrategy
- Parameters:
request
- the input request.endpoints
- all the available endpoints.- Returns:
- the selected endpoint.
-