| Constructor and Description |
|---|
DCPLocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
locateAndDispatch(CouchbaseRequest request,
List<Node> nodes,
ClusterConfig cluster,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Given with the environment and node information, the implementation locates the right set of nodes and dispatches the request into them.
|
public void locateAndDispatch(CouchbaseRequest request, List<Node> nodes, ClusterConfig cluster, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
LocatorGiven with the environment and node information, the implementation locates the right set of nodes and dispatches the request into them.
locateAndDispatch in interface Locatorrequest - the request to dispatch.nodes - the current list of active nodes.cluster - the current cluster configuration.env - the core environment.responseBuffer - the response buffer for potential redistribution.Copyright © 2017 Couchbase, Inc.. All rights reserved.