Class PartitionSelectionStrategy

java.lang.Object
com.couchbase.client.core.service.strategies.PartitionSelectionStrategy
All Implemented Interfaces:
SelectionStrategy

public class PartitionSelectionStrategy
extends Object
implements SelectionStrategy
Selects the Endpoint based 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.
Since:
1.0
Author:
Michael Nitschinger