| Package | Description |
|---|---|
| com.couchbase.client.dcp.buffer | |
| com.couchbase.client.dcp.core.config | |
| com.couchbase.client.dcp.core.node |
| Modifier and Type | Method and Description |
|---|---|
List<NodeInfo> |
DcpBucketConfig.getDataNodes()
Returns an unmodifiable list containing only those nodes that are running the KV service.
|
List<NodeInfo> |
DcpBucketConfig.nodes() |
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
DcpBucketConfig.getAddress(NodeInfo node) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultNodeInfo
Default implementation of
NodeInfo. |
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
DefaultCouchbaseBucketConfig.nodeAtIndex(int nodeIndex) |
NodeInfo |
CouchbaseBucketConfig.nodeAtIndex(int nodeIndex)
Returns information for the node at the given index.
|
| Modifier and Type | Method and Description |
|---|---|
List<NodeInfo> |
BucketConfig.nodes()
The list of nodes associated with this bucket.
|
List<NodeInfo> |
AbstractBucketConfig.nodes() |
| Constructor and Description |
|---|
AbstractBucketConfig(String uuid,
String name,
BucketNodeLocator locator,
String uri,
String streamingUri,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities,
String origin) |
DefaultCouchbaseBucketConfig(long rev,
long revEpoch,
String uuid,
String name,
String uri,
String streamingUri,
CouchbasePartitionInfo partitionInfo,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities,
String origin)
Creates a new
CouchbaseBucketConfig. |
| Modifier and Type | Method and Description |
|---|---|
String |
MemcachedHashingStrategy.hash(NodeInfo info,
int repetition)
The hash for each node based on the node information and repetition.
|
Copyright © 2021 Couchbase, Inc.. All rights reserved.