|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITaskExecutor
The task executor service interface
| Method Summary | |
|---|---|
boolean |
execute(ITask task)
Execute the given task, waiting for free space in blocking queue if necessary |
long |
getTaskCount()
Returns the approximate total number of tasks that have been scheduled for execution. |
boolean |
isRunning()
Indicate the running state of the executor (the user can shutdown this service through JMX). |
| Method Detail |
|---|
boolean execute(ITask task)
throws BatchException
task - the task to execute
BatchExceptionboolean isRunning()
long getTaskCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||