Class IterationTailTask<S extends org.apache.flink.api.common.functions.Function,OT>

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

public class IterationTailTask<S extends org.apache.flink.api.common.functions.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.

  • Constructor Details

    • IterationTailTask

      public IterationTailTask(Environment environment)
      Create an Invokable task and set its environment.
      Parameters:
      environment - The environment assigned to this invokable.
  • Method Details