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. |
gotData
void gotData(String key,
int flags,
long cas,
byte[] data)
- Callback for each result from a gets.
- Parameters:
key
- the key that was retrievedflags
- the flags for this valuecas
- the CAS value for this recorddata
- the data stored under this key