Interface JobMasterOperatorEventGateway
-
- All Known Subinterfaces:
JobMasterGateway
- All Known Implementing Classes:
JobMaster
public interface JobMasterOperatorEventGatewayGateway to send anOperatorEventorCoordinationRequestfrom the Task Manager to to theOperatorCoordinatoron the 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.
OperatorEventGatewaytakes the event, enriches the event with theOperatorID, and forwards it to:TaskOperatorEventGatewayenriches the event with theExecutionAttemptIDand forwards it to the:JobMasterOperatorEventGatewaywhich is RPC interface from the TaskManager to the JobManager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Acknowledge>sendOperatorEventToCoordinator(ExecutionAttemptID task, OperatorID operatorID, org.apache.flink.util.SerializedValue<OperatorEvent> event)CompletableFuture<CoordinationResponse>sendRequestToCoordinator(OperatorID operatorID, org.apache.flink.util.SerializedValue<CoordinationRequest> request)
-
-
-
Method Detail
-
sendOperatorEventToCoordinator
CompletableFuture<Acknowledge> sendOperatorEventToCoordinator(ExecutionAttemptID task, OperatorID operatorID, org.apache.flink.util.SerializedValue<OperatorEvent> event)
-
sendRequestToCoordinator
CompletableFuture<CoordinationResponse> sendRequestToCoordinator(OperatorID operatorID, org.apache.flink.util.SerializedValue<CoordinationRequest> request)
-
-