|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BatchException | |
|---|---|
| net.sf.mybatchfwk | |
| net.sf.mybatchfwk.history | |
| Uses of BatchException in net.sf.mybatchfwk |
|---|
| Methods in net.sf.mybatchfwk that throw BatchException | |
|---|---|
protected void |
BatchService.awaitServiceTermination(java.util.concurrent.ExecutorService service)
Wait for the termination of the service |
boolean |
BatchService.canBeExecuted(ITask task)
Determine if a task can be executed or not |
protected void |
BatchConfiguration.checkConsistency()
Check the consistency of the configuration: - the min size of the thread pool cannot be greater than the max size. |
java.util.Iterator |
ExecutionReport.completedTasksIdIterator()
Return an iterator over the id of the completed tasks, provided by the execution history |
void |
IBatch.end(ExecutionReport report)
Called at the end of the batch execution. |
boolean |
ITaskExecutor.execute(ITask task)
Execute the given task, waiting for free space in blocking queue if necessary |
boolean |
PausableThreadPoolExecutor.execute(ITask task)
|
void |
IBatch.execute(ITaskExecutor executor)
Execution method of the batch. |
protected void |
BatchService.executeBatch()
Method in which the batch is executed |
java.util.Iterator |
ExecutionReport.failedTasksIdIterator()
Return an iterator over the id of the failed tasks, provided by the execution history |
void |
BatchService.init(BatchConfiguration conf)
Initialization method. |
void |
IBatch.init(BatchConfiguration configuration)
Initialization method of the batch. |
void |
BatchService.launch()
Launch the batch |
void |
IBatch.pause()
Called then the batch execution has been put into waking through the call of the corresponding JMX operation. |
void |
BatchService.prepareForLaunch()
Called just before the execution of the batch. |
void |
IBatch.resume()
Called then the batch execution has been resumed through the call of the corresponding JMX operation. |
protected void |
BatchService.sleepBatchService()
Put the batch service on the sleep mode. |
| Constructors in net.sf.mybatchfwk that throw BatchException | |
|---|---|
BatchConfiguration(java.util.Properties properties)
Init the configuration from properties. |
|
| Uses of BatchException in net.sf.mybatchfwk.history |
|---|
| Methods in net.sf.mybatchfwk.history that throw BatchException | |
|---|---|
void |
FileExecutionHistory.closeStorage()
|
void |
IExecutionHistory.closeStorage()
Close the storage system (called one time at the end of the batch) |
void |
MemoryExecutionHistory.closeStorage()
|
java.util.Iterator |
FileExecutionHistory.completedTasksIdIterator()
|
java.util.Iterator |
IExecutionHistory.completedTasksIdIterator()
Return an iterator over the id of the completed tasks |
java.util.Iterator |
MemoryExecutionHistory.completedTasksIdIterator()
|
java.util.Iterator |
FileExecutionHistory.failedTasksIdIterator()
|
java.util.Iterator |
IExecutionHistory.failedTasksIdIterator()
Return an iterator over the id of the completed tasks |
java.util.Iterator |
MemoryExecutionHistory.failedTasksIdIterator()
|
void |
FileExecutionHistory.initStorage(BatchConfiguration configuration)
|
void |
IExecutionHistory.initStorage(BatchConfiguration configuration)
Init the storage system (called one time at the beginning of the batch) |
void |
MemoryExecutionHistory.initStorage(BatchConfiguration configuration)
|
boolean |
FileExecutionHistory.isCompletedTask(java.lang.String id)
|
boolean |
IExecutionHistory.isCompletedTask(java.lang.String id)
Return true is this task has already been executed and completed |
boolean |
MemoryExecutionHistory.isCompletedTask(java.lang.String id)
|
boolean |
FileExecutionHistory.isFailedTask(java.lang.String id)
|
boolean |
IExecutionHistory.isFailedTask(java.lang.String id)
Return true is this task has already been executed but failed |
boolean |
MemoryExecutionHistory.isFailedTask(java.lang.String id)
|
protected void |
FileExecutionHistory.rotateFile(java.io.File file,
java.io.File oldFile)
|
void |
FileExecutionHistory.storeCompletedTaskId(java.lang.String id)
|
void |
IExecutionHistory.storeCompletedTaskId(java.lang.String id)
Store the id of the completed task |
void |
MemoryExecutionHistory.storeCompletedTaskId(java.lang.String id)
|
void |
FileExecutionHistory.storeFailedTaskId(java.lang.String id)
|
void |
IExecutionHistory.storeFailedTaskId(java.lang.String id)
Store the id of the failed task |
void |
MemoryExecutionHistory.storeFailedTaskId(java.lang.String id)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||