java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.deletion.recovery.DeletionTaskRecoveryInfo

public class DeletionTaskRecoveryInfo extends Object
Encapsulates the recovery info needed to recover a DeletionTask from the NM state store.
  • Constructor Details

    • DeletionTaskRecoveryInfo

      public DeletionTaskRecoveryInfo(DeletionTask task, List<Integer> successorTaskIds, long deletionTimestamp)
      Information needed for recovering the DeletionTask.
      Parameters:
      task - the DeletionTask
      successorTaskIds - the dependent DeletionTasks.
      deletionTimestamp - the scheduled times of deletion.
  • Method Details

    • getTask

      public DeletionTask getTask()
      Return the recovered DeletionTask.
      Returns:
      the recovered DeletionTask.
    • getSuccessorTaskIds

      public List<Integer> getSuccessorTaskIds()
      Return all of the dependent DeletionTasks.
      Returns:
      the dependent DeletionTasks.
    • getDeletionTimestamp

      public long getDeletionTimestamp()
      Return the deletion timestamp.
      Returns:
      the deletion timestamp.