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

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

public class IterationIntermediateTask<S extends org.apache.flink.api.common.functions.Function,OT> extends AbstractIterativeTask<S,OT>
An intermediate iteration task, which runs a Driver inside.

It will propagate EndOfSuperstepEvents and TerminationEvents to its connected tasks. Furthermore intermediate tasks can also update the iteration state, either the workset or the solution set.

If the iteration state is updated, the output of this task will be send back to the IterationHeadTask via a BlockingBackChannel for the workset -XOR- a HashTable for the solution set. In this case this task must be scheduled on the same instance as the head.

  • Constructor Details

    • IterationIntermediateTask

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