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.| Constructor and Description |
|---|
IterationSynchronizationSinkTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke()
Must be overwritten by the concrete task.
|
void |
registerInputOutput()
Must be overwritten by the concrete task to instantiate the required record reader and record writer.
|
void |
requestTermination() |
boolean |
terminationRequested() |
cancel, getCurrentNumberOfSubtasks, getEnvironment, getIndexInSubtaskGroup, getJobConfiguration, getTaskConfiguration, getUserCodeClassLoader, setEnvironmentpublic void registerInputOutput()
AbstractInvokableregisterInputOutput in class AbstractInvokablepublic void invoke()
throws Exception
AbstractInvokableinvoke in class AbstractInvokableException - thrown if any exception occurs during the execution of the taskspublic boolean terminationRequested()
terminationRequested in interface Terminablepublic void requestTermination()
requestTermination in interface TerminableCopyright © 2015 The Apache Software Foundation. All rights reserved.