public interface Locator
Modifier and Type | Method and 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.
|
void dispatch(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx)
request
- the request to dispatch.nodes
- the current list of active nodes.config
- the current cluster configuration.ctx
- the core context.Copyright © 2024 Couchbase, Inc.. All rights reserved.