|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RunnableExecutor
Nested Class Summary | |
---|---|
static class |
RunnableExecutor.CurrentThreadExecutor
|
Field Summary | |
---|---|
static RunnableExecutor |
currentThreadExecutor
This RunnableExecutor implementation simply invokes Runnable.run()
on the current thread. |
Method Summary | |
---|---|
void |
invoke(boolean wait,
Runnable r)
|
Field Detail |
---|
static final RunnableExecutor currentThreadExecutor
RunnableExecutor
implementation simply invokes Runnable.run()
on the current thread.
Method Detail |
---|
void invoke(boolean wait, Runnable r)
wait
- if true method waits until Runnable.run()
is completed, otherwise don't wait.r
- the Runnable
to be executed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |