Class OperatorEventDispatcherImpl
java.lang.Object
org.apache.flink.streaming.runtime.tasks.OperatorEventDispatcherImpl
- All Implemented Interfaces:
OperatorEventDispatcher
@Internal
public final class OperatorEventDispatcherImpl
extends Object
implements OperatorEventDispatcher
An implementation of the
OperatorEventDispatcher.
This class is intended for single threaded use from the stream task mailbox.
-
Constructor Summary
ConstructorsConstructorDescriptionOperatorEventDispatcherImpl(ClassLoader classLoader, TaskOperatorEventGateway toCoordinator) -
Method Summary
Modifier and TypeMethodDescriptiongetOperatorEventGateway(OperatorID operatorId) Gets the gateway through which events can be passed to the OperatorCoordinator for the operator identified by the given OperatorID.voidregisterEventHandler(OperatorID operator, OperatorEventHandler handler) Register a listener that is notified every time an OperatorEvent is sent from the OperatorCoordinator (of the operator with the given OperatorID) to this subtask.
-
Constructor Details
-
OperatorEventDispatcherImpl
-
-
Method Details
-
registerEventHandler
Description copied from interface:OperatorEventDispatcherRegister a listener that is notified every time an OperatorEvent is sent from the OperatorCoordinator (of the operator with the given OperatorID) to this subtask.- Specified by:
registerEventHandlerin interfaceOperatorEventDispatcher
-
getOperatorEventGateway
Description copied from interface:OperatorEventDispatcherGets the gateway through which events can be passed to the OperatorCoordinator for the operator identified by the given OperatorID.- Specified by:
getOperatorEventGatewayin interfaceOperatorEventDispatcher
-