Class TaskTracker


  • @Internal
    public class TaskTracker
    extends Object
    Track the upstream tasks to determine whether all the upstream data of a checkpoint has been received.
    • Constructor Detail

      • TaskTracker

        public TaskTracker​(int numberOfTasks)
    • Method Detail

      • add

        public boolean add​(long checkpointId,
                           int task)
        Returns:
        true, if this checkpoint id need be committed.