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(java.lang.String key,
short vbucket)
getVBucket
short getVBucket(java.lang.String key)
getNotMyVbucketNodes
java.util.Collection<MemcachedNode> getNotMyVbucketNodes()
addNotMyVbucketNode
void addNotMyVbucketNode(MemcachedNode node)
setNotMyVbucketNodes
void setNotMyVbucketNodes(java.util.Collection<MemcachedNode> nodes)
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.