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
Modifier and TypeMethodDescriptionvoidcomplete()Called whenever an operation completes.voidreceivedStatus(OperationStatus status) Method invoked with the status when the operation is complete.
-
Method Details
-
receivedStatus
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.
-