Constructor and Description |
---|
FileRestoreDB() |
FileRestoreDB(List<Job> jobs) |
Modifier and Type | Method and Description |
---|---|
void |
addPartitionRestoreContext(PartitionRestoreContext partitionRestoreContext)
Add a PartitionContext into db
|
Job |
currentJob()
get current job
|
List<Job> |
getJobs()
get the Job list
|
int |
getPartitionContextCount()
The total number of partition contexts in db
|
List<Job> |
recover() |
public void addPartitionRestoreContext(PartitionRestoreContext partitionRestoreContext)
RestoreDB
addPartitionRestoreContext
in interface RestoreDB
public int getPartitionContextCount()
RestoreDB
getPartitionContextCount
in interface RestoreDB
public Job currentJob()
RestoreDB
currentJob
in interface RestoreDB