E - The type of values in the ring.@Stability.Internal public final class KetamaRing<E> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E extends KetamaRingNode> |
create(List<E> nodes,
MemcachedHashingStrategy strategy) |
E |
get(byte[] key)
Returns the value associated with the key.
|
NavigableMap<Long,E> |
toMap() |
public static <E extends KetamaRingNode> KetamaRing<E> create(List<E> nodes, MemcachedHashingStrategy strategy)
public E get(byte[] key)
public NavigableMap<Long,E> toMap()
Copyright © 2024 Couchbase, Inc.. All rights reserved.