Class WorkEventBus
java.lang.Object
org.apache.drill.exec.rpc.control.WorkEventBus
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFragmentManager
(FragmentManager fragmentManager) void
addFragmentStatusListener
(UserBitShared.QueryId queryId, FragmentStatusListener listener) boolean
removeFragmentManager
(ExecProtos.FragmentHandle handle, boolean cancel) Optionally cancels and removes fragment manager (for the corresponding the handle) from the work event bus.void
void
-
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