net.spy.memcached.ops.OperationCallback Maven / Gradle / Ivy
The newest version!
// Copyright (c) 2006 Dustin Sallings
package net.spy.memcached.ops;
/**
* Callback that's invoked with the response of an operation.
*/
public interface OperationCallback {
/**
* Method invoked with the status when the operation is complete.
*
* @param status the result of the operation
*/
void receivedStatus(OperationStatus status);
/**
* Called whenever an operation completes.
*/
void complete();
}