Uses of Class
com.couchbase.client.core.config.ClusterConfig
Packages that use ClusterConfig
Package
Description
-
Uses of ClusterConfig in com.couchbase.client.core
Methods in com.couchbase.client.core that return ClusterConfigModifier and TypeMethodDescriptionCore.clusterConfig()
This API provides access to the current config that is published throughout the core. -
Uses of ClusterConfig in com.couchbase.client.core.config
Methods in com.couchbase.client.core.config that return ClusterConfigModifier and TypeMethodDescriptionConfigurationProvider.config()
Returns the currentClusterConfig
.DefaultConfigurationProvider.config()
Methods in com.couchbase.client.core.config that return types with arguments of type ClusterConfig -
Uses of ClusterConfig in com.couchbase.client.core.node
Methods in com.couchbase.client.core.node with parameters of type ClusterConfigModifier and TypeMethodDescriptionprotected boolean
AnalyticsLocator.checkServiceNotAvailable
(Request<? extends Response> request, ClusterConfig config) protected boolean
RoundRobinLocator.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.protected boolean
ViewLocator.checkServiceNotAvailable
(Request<? extends Response> request, ClusterConfig config) void
KeyValueLocator.dispatch
(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx) void
Locator.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.void
RoundRobinLocator.dispatch
(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx) protected boolean
RoundRobinLocator.nodeCanBeUsed
(Node node, Request<? extends Response> request, ClusterConfig config) This method can be overridden for additional per-node checks in addition to the service-type based check already performed inRoundRobinLocator.filterNodes(List, Request, ClusterConfig)
.protected boolean
ViewLocator.nodeCanBeUsed
(Node node, Request<? extends Response> request, ClusterConfig config) In addition to checking that the view service is enabled, for view dispatching it is vital that a request is only ever sent to a node which has active primary KV partitions. -
Uses of ClusterConfig in com.couchbase.client.core.topology
Methods in com.couchbase.client.core.topology with parameters of type ClusterConfigModifier and TypeMethodDescriptionstatic @Nullable ClusterIdentifier
ClusterIdentifierUtil.fromConfig
(@Nullable ClusterConfig config)