Interface ClientSynchronization<V>
- Type Parameters:
- V- The value that result when a- ClientFuturesucceeds
public interface ClientSynchronization<V>
Synchronization callback interface used to execute state updates
 or similar tasks in the thread context where the associated
 Future is managed.
- 
Method SummaryModifier and TypeMethodDescriptionvoidonPendingFailure(Throwable cause) Event point used to signal that this future will complete with a failure outcome.voidonPendingSuccess(V result) Event point used to signal that this future will complete successfully.
- 
Method Details- 
onPendingSuccessEvent point used to signal that this future will complete successfully.- Parameters:
- result- The result that will be returned on completion of this future.
 
- 
onPendingFailureEvent point used to signal that this future will complete with a failure outcome.- Parameters:
- cause- The error that triggered the failure of this future.
 
 
-