Class OperatorEventDispatcherImpl
- java.lang.Object
-
- org.apache.flink.streaming.runtime.tasks.OperatorEventDispatcherImpl
-
- All Implemented Interfaces:
org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
@Internal public final class OperatorEventDispatcherImpl extends Object implements org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
An implementation of theOperatorEventDispatcher.This class is intended for single threaded use from the stream task mailbox.
-
-
Constructor Summary
Constructors Constructor Description OperatorEventDispatcherImpl(ClassLoader classLoader, org.apache.flink.runtime.jobgraph.tasks.TaskOperatorEventGateway toCoordinator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.runtime.operators.coordination.OperatorEventGatewaygetOperatorEventGateway(org.apache.flink.runtime.jobgraph.OperatorID operatorId)voidregisterEventHandler(org.apache.flink.runtime.jobgraph.OperatorID operator, org.apache.flink.runtime.operators.coordination.OperatorEventHandler handler)
-
-
-
Constructor Detail
-
OperatorEventDispatcherImpl
public OperatorEventDispatcherImpl(ClassLoader classLoader, org.apache.flink.runtime.jobgraph.tasks.TaskOperatorEventGateway toCoordinator)
-
-
Method Detail
-
registerEventHandler
public void registerEventHandler(org.apache.flink.runtime.jobgraph.OperatorID operator, org.apache.flink.runtime.operators.coordination.OperatorEventHandler handler)- Specified by:
registerEventHandlerin interfaceorg.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
-
getOperatorEventGateway
public org.apache.flink.runtime.operators.coordination.OperatorEventGateway getOperatorEventGateway(org.apache.flink.runtime.jobgraph.OperatorID operatorId)
- Specified by:
getOperatorEventGatewayin interfaceorg.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
-
-