Interface OperatorEventGateway
-
public interface OperatorEventGatewayThe gateway through which an Operator can send anOperatorEventto 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 voidsendEventToCoordinator(OperatorEvent event)Sends the given event to the coordinator, where it will be handled by theOperatorCoordinator.handleEventFromOperator(int, int, OperatorEvent)method.
-
-
-
Method Detail
-
sendEventToCoordinator
void sendEventToCoordinator(OperatorEvent event)
Sends the given event to the coordinator, where it will be handled by theOperatorCoordinator.handleEventFromOperator(int, int, OperatorEvent)method.
-
-