Package org.apache.drill.exec.rpc
Class BaseRpcOutcomeListener<T>
java.lang.Object
org.apache.drill.exec.rpc.BaseRpcOutcomeListener<T>
- All Implemented Interfaces:
RpcOutcomeListener<T>
- Direct Known Subclasses:
EndpointListener
-
Constructor Summary
-
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
-
Constructor Details
-
BaseRpcOutcomeListener
public BaseRpcOutcomeListener()
-
-
Method Details
-
failed
Description copied from interface:RpcOutcomeListener
Called when an error occurred while waiting for the RPC outcome.- Specified by:
failed
in interfaceRpcOutcomeListener<T>
-
success
- Specified by:
success
in interfaceRpcOutcomeListener<T>
-
interrupted
Called when the sending thread is interrupted. Possible when the fragment is cancelled due to query cancellations or failures.- Specified by:
interrupted
in interfaceRpcOutcomeListener<T>
-