Class IterationTailTask<S extends Function,​OT>

  • All Implemented Interfaces:
    Terminable, CheckpointableTask, CoordinatedTask, TaskInvokable, TaskContext<S,​OT>

    public class IterationTailTask<S extends Function,​OT>
    extends AbstractIterativeTask<S,​OT>
    An iteration tail, which runs a driver inside.

    If the iteration state is updated, the output of this task will be send back to the IterationHeadTask via a BackChannel for the workset -OR- a HashTable for the solution set. Therefore this task must be scheduled on the same instance as the head. It's also possible for the tail to update *both* the workset and the solution set.

    If there is a separate solution set tail, the iteration head has to make sure to wait for it to finish.