|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.executors.impl.ExecutorImpl
public class ExecutorImpl
The default Executor implementation which uses a ThreadPoolExecutor underneath.
| Constructor Summary | |
|---|---|
ExecutorImpl(ThreadPoolExecutor threadPool,
long shutdownDelay)
|
|
| Method Summary | |
|---|---|
int |
capacity()
The capacity of the underlying queue (if any) |
void |
execute(Runnable command)
Execute a command. |
void |
shutdown()
Shutdown this executor. |
int |
size()
The current size of the underlying queue (if any) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutorImpl(ThreadPoolExecutor threadPool,
long shutdownDelay)
| Method Detail |
|---|
public void execute(Runnable command)
Executor
execute in interface Executorcommand - the command to executepublic void shutdown()
Executor
shutdown in interface Executorpublic int capacity()
Executor
capacity in interface Executorpublic int size()
Executor
size in interface Executor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||