net.spy.memcached.ops
Interface VBucketAware
- All Known Implementing Classes:
- GetAndTouchOperationImpl, GetlOperationImpl, GetsOperationImpl, OptimizedSetImpl, TouchOperationImpl
public interface VBucketAware
Operations that depend on a VBucket number being sent to the server
are required to implement this interface.
setVBucket
void setVBucket(String key,
short vbucket)
getVBucket
short getVBucket(String key)
getNotMyVbucketNodes
Collection<MemcachedNode> getNotMyVbucketNodes()
addNotMyVbucketNode
void addNotMyVbucketNode(MemcachedNode node)
setNotMyVbucketNodes
void setNotMyVbucketNodes(Collection<MemcachedNode> nodes)