net.spy.memcached.ops
Interface GetsOperation.Callback

All Superinterfaces:
OperationCallback
All Known Implementing Classes:
MultiGetsOperationCallback
Enclosing interface:
GetsOperation

public static interface GetsOperation.Callback
extends OperationCallback

Operation callback for the Gets request.


Method Summary
 void gotData(String key, int flags, long cas, byte[] data)
          Callback for each result from a gets.
 
Methods inherited from interface net.spy.memcached.ops.OperationCallback
complete, receivedStatus
 

Method Detail

gotData

void gotData(String key,
             int flags,
             long cas,
             byte[] data)
Callback for each result from a gets.

Parameters:
key - the key that was retrieved
flags - the flags for this value
cas - the CAS value for this record
data - the data stored under this key