net.spy.memcached.ops.GetOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of memcached Show documentation
Show all versions of memcached Show documentation
A simple, asynchronous, single-threaded Memcached client written in java.
The newest version!
package net.spy.memcached.ops;
/**
* Get operation.
*/
public interface GetOperation extends KeyedOperation {
/**
* Operation callback for the get request.
*/
interface Callback extends OperationCallback {
/**
* Callback for each result from a get.
*
* @param key the key that was retrieved
* @param flags the flags for this value
* @param data the data stored under this key
*/
void gotData(String key, int flags, byte[] data);
}
}