public class IterationSynchronizationSinkTask extends AbstractInvokable implements Terminable
WorkerDoneEvent from each head and will send back an AllWorkersDoneEvent to signal that
the next superstep can begin.| 构造器和说明 |
|---|
IterationSynchronizationSinkTask(Environment environment)
Create an Invokable task and set its environment.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
invoke()
Starts the execution.
|
void |
requestTermination() |
boolean |
terminationRequested() |
abortCheckpointOnBarrier, cancel, cleanUp, dispatchOperatorEvent, getCurrentNumberOfSubtasks, getEnvironment, getExecutionConfig, getIndexInSubtaskGroup, getJobConfiguration, getTaskConfiguration, getUserCodeClassLoader, isUsingNonBlockingInput, maybeInterruptOnCancel, notifyCheckpointAbortAsync, notifyCheckpointCompleteAsync, notifyCheckpointSubsumedAsync, restore, triggerCheckpointAsync, triggerCheckpointOnBarrierpublic IterationSynchronizationSinkTask(Environment environment)
environment - The environment assigned to this invokable.public void invoke()
throws Exception
TaskInvokableThis method is called by the task manager when the actual execution of the task starts.
All resources should be cleaned up by calling TaskInvokable.cleanUp(Throwable) ()} after the
method returns.
invoke 在接口中 TaskInvokableinvoke 在类中 AbstractInvokableExceptionpublic boolean terminationRequested()
terminationRequested 在接口中 Terminablepublic void requestTermination()
requestTermination 在接口中 TerminableCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.