Class KetamaRing<E>
java.lang.Object
com.couchbase.client.core.topology.KetamaRing<E>
- Type Parameters:
E
- The type of values in the ring.
A
Ketama ring
(or "continuum", if you prefer) with Couchbase-specific parameters defined by
Couchbase SDK RFC 26 (Ketama Hashing)
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends KetamaRingNode>
KetamaRing<E>create
(List<E> nodes, MemcachedHashingStrategy strategy) get
(byte[] key) Returns the value associated with the key.toMap()
-
Method Details
-
create
public static <E extends KetamaRingNode> KetamaRing<E> create(List<E> nodes, MemcachedHashingStrategy strategy) -
get
Returns the value associated with the key. -
toMap
-