Interface Locator

All Known Implementing Classes:
AnalyticsLocator, KeyValueLocator, RoundRobinLocator, ViewLocator

public interface Locator
  • Method Summary

    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 Details

    • 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.