Class DeletionTaskRecoveryInfo
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.deletion.recovery.DeletionTaskRecoveryInfo
Encapsulates the recovery info needed to recover a DeletionTask from the NM
state store.
-
Constructor Summary
ConstructorsConstructorDescriptionDeletionTaskRecoveryInfo(DeletionTask task, List<Integer> successorTaskIds, long deletionTimestamp) Information needed for recovering the DeletionTask. -
Method Summary
Modifier and TypeMethodDescriptionlongReturn the deletion timestamp.Return all of the dependent DeletionTasks.getTask()Return the recovered DeletionTask.
-
Constructor Details
-
DeletionTaskRecoveryInfo
public DeletionTaskRecoveryInfo(DeletionTask task, List<Integer> successorTaskIds, long deletionTimestamp) Information needed for recovering the DeletionTask.- Parameters:
task- the DeletionTasksuccessorTaskIds- the dependent DeletionTasks.deletionTimestamp- the scheduled times of deletion.
-
-
Method Details
-
getTask
Return the recovered DeletionTask.- Returns:
- the recovered DeletionTask.
-
getSuccessorTaskIds
Return all of the dependent DeletionTasks.- Returns:
- the dependent DeletionTasks.
-
getDeletionTimestamp
public long getDeletionTimestamp()Return the deletion timestamp.- Returns:
- the deletion timestamp.
-