Class RoundRobinSelectionStrategy
java.lang.Object
com.couchbase.client.core.service.strategy.RoundRobinSelectionStrategy
- All Implemented Interfaces:
EndpointSelectionStrategy
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RoundRobinSelectionStrategy
public RoundRobinSelectionStrategy()
-
-
Method Details
-
select
Description copied from interface:EndpointSelectionStrategySelects anEndpointfor 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:
selectin interfaceEndpointSelectionStrategy- Parameters:
request- the input request.endpoints- all the available endpoints.- Returns:
- the selected endpoint.
-