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 TypeMethodDescriptionvoid
failed
(RpcException ex) Called when an error occurred while waiting for the RPC outcome.void
Called 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.
-