|
JBoss Threads 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WrappingExecutor
An executor which runs a task within the given direct executor.
Method Summary | |
---|---|
void |
execute(DirectExecutor directExecutor,
Runnable task)
Run the given task within the given wrapper. |
void |
execute(Runnable task)
Run the given task directly, without a wrapper. |
Method Detail |
---|
void execute(Runnable task) throws RejectedExecutionException
execute
in interface Executor
task
- the task to run
RejectedExecutionException
- if the execution was rejected for some reasonvoid execute(DirectExecutor directExecutor, Runnable task) throws RejectedExecutionException
directExecutor
- the task wrappertask
- the task to run
RejectedExecutionException
- if the execution was rejected for some reason
|
JBoss Threads 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |