|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KernelRunnable
This is the base interface used for all tasks that can be submitted
to instances of Scheduler.
| Method Summary | |
|---|---|
String |
getBaseTaskType()
Returns the fully qualified type of the base task that is run by this KernelRunnable. |
void |
run()
Runs this KernelRunnable. |
| Method Detail |
|---|
String getBaseTaskType()
KernelRunnable. Many types of runnables wrap around other
instances of KernelRunnable or Task. This
method provides the type of the base task that is being wrapped by any
number of KernelRunnables, where a given task that wraps
another task will return that other task's base type such that any
wrapping task can be queried and will return the same base task type.
void run()
throws Exception
KernelRunnable. If this is run by a
Scheduler that support re-try logic, and if an
Exception is thrown that implements
ExceptionRetryStatus then the Scheduler
will consult the shouldRetry method of the
Exception to see if this task should be re-run.
Exception - if any error occurs
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||