- All Implemented Interfaces:
public class PartitionSelectionStrategy extends Object implements SelectionStrategy
Endpointbased on the information enclosed in the
CouchbaseRequest. This strategy can be used to "pin" certain requests to specific endpoints based on the supplied information. The current implementation uses this technique to tie ID-based
BinaryRequests to the same endpoint to enforce at least some amount of ordering guarantees.
- Michael Nitschinger
Fields Modifier and Type Field Description
INSTANCEpublic static final PartitionSelectionStrategy INSTANCE
selectDescription copied from interface:
Endpointfor 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.