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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
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 classRoundRobinLocator
-