|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ThreadWorker.Listener
listens for tasks run by a ThreadWorker to be finished
| Method Summary | |
|---|---|
void |
taskPerformed(Executor executor,
Runnable task,
long timeTaken,
Throwable exceptionIfAny)
called after ThreadWorker has finished running the task. |
| Method Detail |
|---|
void taskPerformed(Executor executor,
Runnable task,
long timeTaken,
Throwable exceptionIfAny)
task - the task that just finished runningtimeTaken - the time (in milliseconds) it took to run the taskexceptionIfAny - if an Exception was thrown during task execution,
it will be held by this parameter. This should be
null if the task ended normally.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||