Uses of Class
com.couchbase.client.core.config.ClusterConfig
-
Packages that use ClusterConfig Package Description com.couchbase.client.core com.couchbase.client.core.config com.couchbase.client.core.node -
-
Uses of ClusterConfig in com.couchbase.client.core
Methods in com.couchbase.client.core that return ClusterConfig Modifier and Type Method Description ClusterConfigCore. 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 ClusterConfig Modifier and Type Method Description ClusterConfigConfigurationProvider. config()Returns the currentClusterConfig.ClusterConfigDefaultConfigurationProvider. config()Methods in com.couchbase.client.core.config that return types with arguments of type ClusterConfig Modifier and Type Method Description Flux<ClusterConfig>ConfigurationProvider. configs()This is a hot stream which when attached will return the current config as well as all subsequent ones.Flux<ClusterConfig>DefaultConfigurationProvider. configs()Methods in com.couchbase.client.core.config with parameters of type ClusterConfig Modifier and Type Method Description static List<DefaultConfigurationProvider.AlternateAddressHolder>DefaultConfigurationProvider. extractAlternateAddressInfos(ClusterConfig config)Helper method to turn either the port info or the node info into a list of hosts to use for the alternate address resolution. -
Uses of ClusterConfig in com.couchbase.client.core.node
Methods in com.couchbase.client.core.node with parameters of type ClusterConfig Modifier and Type Method Description protected booleanAnalyticsLocator. checkServiceNotAvailable(Request<? extends Response> request, ClusterConfig config)protected booleanRoundRobinLocator. 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 booleanViewLocator. checkServiceNotAvailable(Request<? extends Response> request, ClusterConfig config)voidKeyValueLocator. dispatch(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx)voidLocator. 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.voidRoundRobinLocator. dispatch(Request<? extends Response> request, List<Node> nodes, ClusterConfig config, CoreContext ctx)protected booleanRoundRobinLocator. 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 booleanViewLocator. 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.
-