| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeLocator
Interface for locating a node by hash value.
| Method Summary | |
|---|---|
 Collection<MemcachedNode> | 
getAll()
Get all memcached nodes.  | 
 MemcachedNode | 
getPrimary(String k)
Get the primary location for the given key.  | 
 NodeLocator | 
getReadonlyCopy()
Create a read-only copy of this NodeLocator.  | 
 Iterator<MemcachedNode> | 
getSequence(String k)
Get an iterator over the sequence of nodes that make up the backup locations for a given key.  | 
| Method Detail | 
|---|
MemcachedNode getPrimary(String k)
k - the object key
Iterator<MemcachedNode> getSequence(String k)
k - the object key
Collection<MemcachedNode> getAll()
NodeLocator getReadonlyCopy()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||