| Modifier and Type | Method and Description |
|---|---|
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.
|
void execute(Runnable task) throws RejectedExecutionException
execute in interface Executortask - the task to runRejectedExecutionException - if the execution was rejected for some reasonvoid execute(DirectExecutor directExecutor, Runnable task) throws RejectedExecutionException
directExecutor - the task wrappertask - the task to runRejectedExecutionException - if the execution was rejected for some reasonCopyright © 2012 JBoss by Red Hat. All Rights Reserved.