| Package | Description |
|---|---|
| com.couchbase.client.core.config | |
| com.couchbase.client.core.node |
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
CouchbaseBucketConfig.nodeAtIndex(int nodeIndex) |
NodeInfo |
MemcachedBucketConfig.nodeForKey(byte[] id) |
| Modifier and Type | Method and Description |
|---|---|
static KetamaRing<NodeInfo> |
KetamaRing.create(List<NodeInfo> nodes,
MemcachedHashingStrategy strategy) |
SortedMap<Long,NodeInfo> |
MemcachedBucketConfig.ketamaNodes()
Deprecated.
Please use
MemcachedBucketConfig.nodeForKey(byte[]) for Ketama lookups instead. |
List<NodeInfo> |
BucketConfig.nodes()
The list of nodes associated with this bucket.
|
List<NodeInfo> |
AbstractBucketConfig.nodes() |
| Modifier and Type | Method and Description |
|---|---|
static KetamaRing<NodeInfo> |
KetamaRing.create(List<NodeInfo> nodes,
MemcachedHashingStrategy strategy) |
| 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,
Map<String,Set<ClusterCapabilities>> clusterCapabilities,
long rev,
long revEpoch) |
CouchbaseBucketConfig(long rev,
long revEpoch,
String uuid,
String name,
String uri,
String streamingUri,
PartitionInfo partitionInfo,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities,
Map<String,Set<ClusterCapabilities>> clusterCapabilities,
BucketType bucketType,
String origin)
Creates a new
CouchbaseBucketConfig. |
MemcachedBucketConfig(CoreEnvironment env,
long rev,
long revEpoch,
String uuid,
String name,
String uri,
String streamingUri,
List<NodeInfo> nodeInfos,
List<PortInfo> portInfos,
List<BucketCapabilities> bucketCapabilities,
Map<String,Set<ClusterCapabilities>> clusterCapabilities,
String origin)
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 |
StandardMemcachedHashingStrategy.hash(NodeInfo info,
int repetition) |
String |
Sdk2CompatibleMemcachedHashingStrategy.hash(NodeInfo info,
int repetition) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.