public class RpcTaskOperatorEventGateway extends Object implements TaskOperatorEventGateway
JobMasterOperatorEventGateway
to send
the messages to the coordinator.Constructor and Description |
---|
RpcTaskOperatorEventGateway(JobMasterOperatorEventGateway rpcGateway,
ExecutionAttemptID taskExecutionId,
java.util.function.Consumer<Throwable> errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
sendOperatorEventToCoordinator(OperatorID operator,
SerializedValue<OperatorEvent> event)
Send an event from the operator (identified by the given operator ID) to the operator
coordinator (identified by the same ID).
|
public RpcTaskOperatorEventGateway(JobMasterOperatorEventGateway rpcGateway, ExecutionAttemptID taskExecutionId, java.util.function.Consumer<Throwable> errorHandler)
public void sendOperatorEventToCoordinator(OperatorID operator, SerializedValue<OperatorEvent> event)
TaskOperatorEventGateway
sendOperatorEventToCoordinator
in interface TaskOperatorEventGateway
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.