public class DeletionTaskRecoveryInfo extends Object
Constructor and Description |
---|
DeletionTaskRecoveryInfo(DeletionTask task,
List<Integer> successorTaskIds,
long deletionTimestamp)
Information needed for recovering the DeletionTask.
|
Modifier and Type | Method and Description |
---|---|
long |
getDeletionTimestamp()
Return the deletion timestamp.
|
List<Integer> |
getSuccessorTaskIds()
Return all of the dependent DeletionTasks.
|
DeletionTask |
getTask()
Return the recovered DeletionTask.
|
public DeletionTaskRecoveryInfo(DeletionTask task, List<Integer> successorTaskIds, long deletionTimestamp)
task
- the DeletionTasksuccessorTaskIds
- the dependent DeletionTasks.deletionTimestamp
- the scheduled times of deletion.public DeletionTask getTask()
public List<Integer> getSuccessorTaskIds()
public long getDeletionTimestamp()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.