net.spy.memcached.ops
Interface OperationCallback

All Known Subinterfaces:
GetOperation.Callback, GetsOperation.Callback, StatsOperation.Callback
All Known Implementing Classes:
GetCallbackWrapper, MultiGetOperationCallback, MultiGetsOperationCallback, MultiOperationCallback, ProxyCallback

public interface OperationCallback

Callback that's invoked with the response of an operation.


Method Summary
 void complete()
          Called whenever an operation completes.
 void receivedStatus(OperationStatus status)
          Method invoked with the status when the operation is complete.
 

Method Detail

receivedStatus

void receivedStatus(OperationStatus status)
Method invoked with the status when the operation is complete.

Parameters:
status - the result of the operation

complete

void complete()
Called whenever an operation completes.