Package net.spy.memcached.ops
Class MultiGetsOperationCallback
- java.lang.Object
-
- net.spy.memcached.ops.MultiOperationCallback
-
- net.spy.memcached.ops.MultiGetsOperationCallback
-
- All Implemented Interfaces:
GetsOperation.Callback,OperationCallback
public class MultiGetsOperationCallback extends MultiOperationCallback implements GetsOperation.Callback
MultiOperationCallback for get operations.
-
-
Field Summary
-
Fields inherited from class net.spy.memcached.ops.MultiOperationCallback
originalCallback
-
-
Constructor Summary
Constructors Constructor Description MultiGetsOperationCallback(OperationCallback original, int todo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgotData(java.lang.String key, int flags, long cas, byte[] data)Callback for each result from a gets.-
Methods inherited from class net.spy.memcached.ops.MultiOperationCallback
complete, receivedStatus
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.spy.memcached.ops.OperationCallback
complete, receivedStatus
-
-
-
-
Constructor Detail
-
MultiGetsOperationCallback
public MultiGetsOperationCallback(OperationCallback original, int todo)
-
-
Method Detail
-
gotData
public void gotData(java.lang.String key, int flags, long cas, byte[] data)Description copied from interface:GetsOperation.CallbackCallback for each result from a gets.- Specified by:
gotDatain interfaceGetsOperation.Callback- Parameters:
key- the key that was retrievedflags- the flags for this valuecas- the CAS value for this recorddata- the data stored under this key
-
-