Interface ResumeManager
-
- All Known Implementing Classes:
ResumeManagerImpl
public interface ResumeManagerInterface defining methods for allowing PIDs from previous runs to be skipped and tracking the processing of PIDs in current runs- Author:
- mikejritter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(String pid)Test if a PID should be processedvoidcompleted(String pid)Mark that a PID has been processed without exceptionsvoidupdateResumeFile()Update the resume file with all PIDs which have been processed successfully
-
-
-
Method Detail
-
updateResumeFile
void updateResumeFile()
Update the resume file with all PIDs which have been processed successfully
-
completed
void completed(String pid)
Mark that a PID has been processed without exceptions- Parameters:
pid- the PID
-
accept
boolean accept(String pid)
Test if a PID should be processed- Parameters:
pid- the PID- Returns:
- true if the PID should be processed
-
-