Package com.couchbase.client.core.node
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 Summary
Constructors Constructor Description AnalyticsLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkServiceNotAvailable(Request<? extends Response> request, ClusterConfig config)
Can be overridden to check if a request should be cancelled immediately that the service is not supported.-
Methods inherited from class com.couchbase.client.core.node.RoundRobinLocator
dispatch, nodeCanBeUsed
-
-
-
-
Method Detail
-
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 classRoundRobinLocator
-
-