Interface Locator

All Known Implementing Classes:
AnalyticsLocator, ConfigLocator, KeyValueLocator, QueryLocator, SearchLocator, ViewLocator

public interface Locator
  • Method Summary

    Modifier and Type Method Description
    void locateAndDispatch​(CouchbaseRequest request, List<Node> nodes, ClusterConfig config, 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.
  • Method Details

    • locateAndDispatch

      void locateAndDispatch​(CouchbaseRequest request, List<Node> nodes, ClusterConfig config, 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.
      Parameters:
      request - the request to dispatch.
      nodes - the current list of active nodes.
      config - the current cluster configuration.
      env - the core environment.
      responseBuffer - the response buffer for potential redistribution.