Package net.spy.memcached.ops
Interface OperationCallback
-
- All Known Subinterfaces:
DeleteOperation.Callback,GetAndTouchOperation.Callback,GetlOperation.Callback,GetOperation.Callback,GetsOperation.Callback,ObserveOperation.Callback,ReplicaGetOperation.Callback,ReplicaGetsOperation.Callback,StatsOperation.Callback,StoreOperation.Callback,TapOperation.Callback
- All Known Implementing Classes:
GetCallbackWrapper,MultiGetOperationCallback,MultiGetsOperationCallback,MultiOperationCallback,MultiReplicaGetOperationCallback,OptimizedSetImpl.NoopCallback,ProxyCallback
public interface OperationCallbackCallback that's invoked with the response of an operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete()Called whenever an operation completes.voidreceivedStatus(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.
-
-