Package com.couchbase.client.core.config
Class KetamaRing<E>
java.lang.Object
com.couchbase.client.core.config.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 KetamaRing<NodeInfo>
create
(List<NodeInfo> nodes, MemcachedHashingStrategy strategy) get
(byte[] key) Returns the value associated with the key.
-
Method Details
-
create
-
get
Returns the value associated with the key.
-