public interface TaskOperatorEventGateway
OperatorEvent from a Task to to the OperatorCoordinator
JobManager side.
This is the first step in the chain of sending Operator Events from Operator to Coordinator. Each layer adds further context, so that the inner layers do not need to know about the complete context, which keeps dependencies small and makes testing easier.
OperatorEventGateway takes the event, enriches the event with the OperatorID, and
forwards it to:TaskOperatorEventGateway enriches the event with the ExecutionAttemptID and
forwards it to the:JobMasterOperatorEventGateway which is RPC interface from the TaskManager to the JobManager.| 限定符和类型 | 方法和说明 |
|---|---|
void |
sendOperatorEventToCoordinator(OperatorID operator,
org.apache.flink.util.SerializedValue<OperatorEvent> event)
Send an event from the operator (identified by the given operator ID) to the operator
coordinator (identified by the same ID).
|
void sendOperatorEventToCoordinator(OperatorID operator, org.apache.flink.util.SerializedValue<OperatorEvent> event)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.