@Internal public final class OperatorEventDispatcherImpl extends Object implements org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
OperatorEventDispatcher
.
This class is intended for single threaded use from the stream task mailbox.
Constructor and Description |
---|
OperatorEventDispatcherImpl(ClassLoader classLoader,
org.apache.flink.runtime.jobgraph.tasks.TaskOperatorEventGateway toCoordinator) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.runtime.operators.coordination.OperatorEventGateway |
getOperatorEventGateway(org.apache.flink.runtime.jobgraph.OperatorID operatorId) |
void |
registerEventHandler(org.apache.flink.runtime.jobgraph.OperatorID operator,
org.apache.flink.runtime.operators.coordination.OperatorEventHandler handler) |
public OperatorEventDispatcherImpl(ClassLoader classLoader, org.apache.flink.runtime.jobgraph.tasks.TaskOperatorEventGateway toCoordinator)
public void registerEventHandler(org.apache.flink.runtime.jobgraph.OperatorID operator, org.apache.flink.runtime.operators.coordination.OperatorEventHandler handler)
registerEventHandler
in interface org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
public org.apache.flink.runtime.operators.coordination.OperatorEventGateway getOperatorEventGateway(org.apache.flink.runtime.jobgraph.OperatorID operatorId)
getOperatorEventGateway
in interface org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.