Class 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 the OperatorEventDispatcher.

    This class is intended for single threaded use from the stream task mailbox.

    • 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:
        registerEventHandler in interface org.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:
        getOperatorEventGateway in interface org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher