| Package | Description |
|---|---|
| com.couchbase.client.core |
Couchbase Core IO - Domain Model and Architecture
|
| com.couchbase.client.core.config | |
| com.couchbase.client.core.config.refresher | |
| com.couchbase.client.core.event.system | |
| com.couchbase.client.core.message.cluster | |
| com.couchbase.client.core.node.locate |
| Modifier and Type | Method and Description |
|---|---|
Observable<ClusterConfig> |
RequestHandler.reconfigure(ClusterConfig config)
Helper method which grabs the current configuration and checks if the node setup is out of sync.
|
| Modifier and Type | Method and Description |
|---|---|
Observable<ClusterConfig> |
RequestHandler.reconfigure(ClusterConfig config)
Helper method which grabs the current configuration and checks if the node setup is out of sync.
|
| Constructor and Description |
|---|
RequestHandler(CoreEnvironment environment,
Observable<ClusterConfig> configObservable,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Create a new
RequestHandler. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultClusterConfig
Default implementation of a
ClusterConfig. |
| Modifier and Type | Method and Description |
|---|---|
ClusterConfig |
DefaultConfigurationProvider.config() |
ClusterConfig |
ConfigurationProvider.config()
Returns the current config or null if not set.
|
| Modifier and Type | Method and Description |
|---|---|
Observable<ClusterConfig> |
DefaultConfigurationProvider.closeBucket(String name) |
Observable<ClusterConfig> |
ConfigurationProvider.closeBucket(String name) |
Observable<ClusterConfig> |
DefaultConfigurationProvider.configs() |
Observable<ClusterConfig> |
ConfigurationProvider.configs()
Returns an
Observable, which pushes a new ClusterConfig once available. |
Observable<ClusterConfig> |
DefaultConfigurationProvider.openBucket(String bucket,
String password) |
Observable<ClusterConfig> |
ConfigurationProvider.openBucket(String name,
String password)
Start to fetch a config for the given bucket and also watch for changes, depending on the mechanism used.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Refresher.refresh(ClusterConfig config)
If pull based, refresh configs for registered buckets.
|
void |
HttpRefresher.refresh(ClusterConfig config) |
void |
CarrierRefresher.refresh(ClusterConfig config) |
| Constructor and Description |
|---|
ConfigUpdatedEvent(ClusterConfig clusterConfig) |
| Modifier and Type | Method and Description |
|---|---|
ClusterConfig |
GetClusterConfigResponse.config() |
| Constructor and Description |
|---|
GetClusterConfigResponse(ClusterConfig config,
ResponseStatus status) |
| Modifier and Type | Method and Description |
|---|---|
Node[] |
ViewLocator.locate(CouchbaseRequest request,
Set<Node> nodes,
ClusterConfig config) |
Node[] |
QueryLocator.locate(CouchbaseRequest request,
Set<Node> nodes,
ClusterConfig config) |
Node[] |
Locator.locate(CouchbaseRequest request,
Set<Node> nodes,
ClusterConfig config) |
Node[] |
KeyValueLocator.locate(CouchbaseRequest request,
Set<Node> nodes,
ClusterConfig cluster) |
Node[] |
DCPLocator.locate(CouchbaseRequest request,
Set<Node> nodes,
ClusterConfig cluster) |
Node[] |
ConfigLocator.locate(CouchbaseRequest request,
Set<Node> nodes,
ClusterConfig config) |
Copyright © 2016 Couchbase, Inc.. All rights reserved.