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 OperationCallback
Callback that's invoked with the response of an operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-