public class ExecutorImpl extends java.lang.Object implements Executor
| Constructor and Description |
|---|
ExecutorImpl(ExecutorFactoryImpl executorFactory,
java.util.concurrent.ThreadPoolExecutor threadPool,
ExecutorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity()
The capacity of the underlying queue (if any)
|
void |
execute(java.lang.Runnable command)
Execute a command.
|
protected ExecutorConfig |
getConfig()
The configuration used for creating this executor instance
|
java.util.concurrent.ThreadPoolExecutor |
getThreadPoolExecutor() |
void |
shutdown()
Shutdown this executor.
|
int |
size()
The current size of the underlying queue (if any)
|
public ExecutorImpl(ExecutorFactoryImpl executorFactory, java.util.concurrent.ThreadPoolExecutor threadPool, ExecutorConfig config)
public void execute(java.lang.Runnable command)
Executorpublic void shutdown()
Executorpublic int capacity()
Executorpublic int size()
Executorpublic java.util.concurrent.ThreadPoolExecutor getThreadPoolExecutor()
protected ExecutorConfig getConfig()
Copyright © 2005-2014 FuseSource. All Rights Reserved.