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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfailed(RpcException ex) Called when an error occurred while waiting for the RPC outcome.voidCalled when the sending thread is interrupted.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.rpc.RpcOutcomeListener
complete
-
Constructor Details
-
BaseRpcOutcomeListener
public BaseRpcOutcomeListener()
-
-
Method Details
-
failed
Description copied from interface:RpcOutcomeListenerCalled when an error occurred while waiting for the RPC outcome.- Specified by:
failedin interfaceRpcOutcomeListener<T>- Parameters:
ex-
-
success
- Specified by:
successin interfaceRpcOutcomeListener<T>
-
interrupted
Called when the sending thread is interrupted. Possible when the fragment is cancelled due to query cancellations or failures.- Specified by:
interruptedin interfaceRpcOutcomeListener<T>
-