| Package | Description |
|---|---|
| com.couchbase.client.core.config | |
| com.couchbase.client.core.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 |
|---|---|
SortedMap<Long,NodeInfo> |
MemcachedBucketConfig.ketamaNodes() |
SortedMap<Long,NodeInfo> |
DefaultMemcachedBucketConfig.ketamaNodes() |
List<NodeInfo> |
BucketConfig.nodes()
The list of nodes associated with this bucket.
|
List<NodeInfo> |
AbstractBucketConfig.nodes() |
| Constructor and Description |
|---|
AbstractBucketConfig(String name,
BucketNodeLocator locator,
String uri,
String streamingUri,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities) |
DefaultCouchbaseBucketConfig(long rev,
String name,
String uri,
String streamingUri,
CouchbasePartitionInfo partitionInfo,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities)
Creates a new
CouchbaseBucketConfig. |
DefaultMemcachedBucketConfig(ConfigParserEnvironment env,
long rev,
String name,
String uri,
String streamingUri,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities)
Creates a new
MemcachedBucketConfig. |
| 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.
|
String |
LegacyMemcachedHashingStrategy.hash(NodeInfo info,
int repetition) |
String |
DefaultMemcachedHashingStrategy.hash(NodeInfo info,
int repetition) |
Copyright © 2017 Couchbase, Inc.. All rights reserved.