Class WorkEventBus
java.lang.Object
org.apache.drill.exec.rpc.control.WorkEventBus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFragmentManager(FragmentManager fragmentManager) voidaddFragmentStatusListener(UserBitShared.QueryId queryId, FragmentStatusListener listener) booleanremoveFragmentManager(ExecProtos.FragmentHandle handle, boolean cancel) Optionally cancels and removes fragment manager (for the corresponding the handle) from the work event bus.voidvoid
-
Constructor Details
-
WorkEventBus
public WorkEventBus()
-
-
Method Details
-
statusUpdate
-
addFragmentManager
-
getFragmentManager
-
removeFragmentManager
Optionally cancels and removes fragment manager (for the corresponding the handle) from the work event bus. Currently, used for fragments waiting on data (root and intermediate). This method can be called multiple times. The manager will be removed only once (the first call).- Parameters:
handle- the handle to the fragmentcancel-- Returns:
- if the fragment was found and removed from the event bus