Package com.couchbase.client.core.node
Interface Locator
-
- All Known Implementing Classes:
AnalyticsLocator
,KeyValueLocator
,RoundRobinLocator
,ViewLocator
public interface Locator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispatch(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx)
Given the environment and node information, the implementation locates the right set of nodes and dispatches the request into them.
-
-
-
Method Detail
-
dispatch
void dispatch(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx)
Given the environment and node information, the implementation locates the right set of nodes and dispatches the request into them.- Parameters:
request
- the request to dispatch.nodes
- the current list of active nodes.config
- the current cluster configuration.ctx
- the core context.
-
-