Package org.apache.drill.exec.rpc
Interface RpcOutcomeListener<V>
- All Known Implementing Classes:
AuthenticationOutcomeListener,BaseRpcOutcomeListener,DataTunnelStatusHandler,EndpointListener,StatusHandler
public interface RpcOutcomeListener<V>
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcomplete()Called when an operator complete for waiting msg releasevoidfailed(RpcException ex) Called when an error occurred while waiting for the RPC outcome.voidCalled when the sending thread is interrupted.void
-
Method Details
-
failed
Called when an error occurred while waiting for the RPC outcome.- Parameters:
ex-
-
success
-
interrupted
Called when the sending thread is interrupted. Possible when the fragment is cancelled due to query cancellations or failures. -
complete
default void complete()Called when an operator complete for waiting msg release
-