|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExecutionHistory
An ExecutionHistory is design to store the id of the completed and failed tasks.
| Method Summary | |
|---|---|
void |
closeStorage()
Close the storage system (called one time at the end of the batch) |
java.util.Iterator |
completedTasksIdIterator()
Return an iterator over the id of the completed tasks |
java.util.Iterator |
failedTasksIdIterator()
Return an iterator over the id of the completed tasks |
void |
initStorage(BatchConfiguration configuration)
Init the storage system (called one time at the beginning of the batch) |
boolean |
isCompletedTask(java.lang.String id)
Return true is this task has already been executed and completed |
boolean |
isFailedTask(java.lang.String id)
Return true is this task has already been executed but failed |
void |
storeCompletedTaskId(java.lang.String id)
Store the id of the completed task |
void |
storeFailedTaskId(java.lang.String id)
Store the id of the failed task |
| Method Detail |
|---|
void initStorage(BatchConfiguration configuration)
throws BatchException
configuration - the configuration of the batch
BatchException
void closeStorage()
throws BatchException
BatchException
boolean isCompletedTask(java.lang.String id)
throws BatchException
id - the id a a task
BatchException
boolean isFailedTask(java.lang.String id)
throws BatchException
id -
BatchException
void storeCompletedTaskId(java.lang.String id)
throws BatchException
id -
BatchException
void storeFailedTaskId(java.lang.String id)
throws BatchException
id -
BatchException
java.util.Iterator completedTasksIdIterator()
throws BatchException
BatchException
java.util.Iterator failedTasksIdIterator()
throws BatchException
BatchException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||