net.spy.memcached.ops
Class MultiGetOperationCallback

java.lang.Object
  extended by net.spy.memcached.ops.MultiOperationCallback
      extended by net.spy.memcached.ops.MultiGetOperationCallback
All Implemented Interfaces:
GetOperation.Callback, OperationCallback

public class MultiGetOperationCallback
extends MultiOperationCallback
implements GetOperation.Callback

MultiOperationCallback for get operations.


Field Summary
 
Fields inherited from class net.spy.memcached.ops.MultiOperationCallback
originalCallback
 
Constructor Summary
MultiGetOperationCallback(OperationCallback original, int todo)
           
 
Method Summary
 void gotData(String key, int flags, byte[] data)
          Callback for each result from a get.
 
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

MultiGetOperationCallback

public MultiGetOperationCallback(OperationCallback original,
                                 int todo)
Method Detail

gotData

public void gotData(String key,
                    int flags,
                    byte[] data)
Description copied from interface: GetOperation.Callback
Callback for each result from a get.

Specified by:
gotData in interface GetOperation.Callback
Parameters:
key - the key that was retrieved
flags - the flags for this value
data - the data stored under this key