|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITaskExecutor
An active object that executes tasks asynchronously.
| Method Summary | |
|---|---|
void |
execute(Runnable task)
Add the task to a queue for processing by a single thread |
StackTraceElement[] |
getStackTrace()
Get the current stack of the executor |
void |
schedule(TimerTask task,
long delay,
long period)
Schedule a timer task to be executed by a single worker thread. |
| Methods inherited from interface fulmine.ILifeCycle |
|---|
isActive, start |
| Methods inherited from interface fulmine.IDestroyable |
|---|
destroy |
| Method Detail |
|---|
void execute(Runnable task)
execute in interface Executortask - the task to add to a queue that is processed by a single
thread
void schedule(TimerTask task,
long delay,
long period)
task - task to be scheduled.delay - delay in milliseconds before task is to be executed.period - time in milliseconds between successive task executions.StackTraceElement[] getStackTrace()
Thread.getStackTrace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||