Package net.spy.memcached.ops
Interface VBucketAware
- All Known Implementing Classes:
ConcatenationOperationImpl
,DeleteOperationImpl
,GetAndTouchOperationImpl
,GetlOperationImpl
,GetOperationImpl
,GetsOperationImpl
,KeyStatsOperationImpl
,MultiGetOperationImpl
,MultiKeyOperationImpl
,MutatorOperationImpl
,ObserveOperationImpl
,OptimizedGetImpl
,OptimizedSetImpl
,ReplicaGetOperationImpl
,ReplicaGetsOperationImpl
,SingleKeyOperationImpl
,StoreOperationImpl
,TouchOperationImpl
,UnlockOperationImpl
public interface VBucketAware
Operations that depend on a VBucket number being sent to the server are
required to implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
short
getVBucket
(String key) void
void
setVBucket
(String key, short vbucket)
-
Method Details
-
setVBucket
-
getVBucket
-
getNotMyVbucketNodes
Collection<MemcachedNode> getNotMyVbucketNodes() -
addNotMyVbucketNode
-
setNotMyVbucketNodes
-