Class AnalyticsLocator

java.lang.Object
com.couchbase.client.core.node.RoundRobinLocator
com.couchbase.client.core.node.AnalyticsLocator
All Implemented Interfaces:
Locator

public class AnalyticsLocator extends RoundRobinLocator
  • Constructor Details

    • AnalyticsLocator

      public AnalyticsLocator()
  • Method Details

    • checkServiceNotAvailable

      protected boolean checkServiceNotAvailable(Request<? extends Response> request, ClusterConfig config)
      Description copied from class: RoundRobinLocator
      Can be overridden to check if a request should be cancelled immediately that the service is not supported.

      If this method returns false, something MUST be done with the request, or it will time out!

      Overrides:
      checkServiceNotAvailable in class RoundRobinLocator