|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.connector.work.pool.NullWorkExecutorPool
public class NullWorkExecutorPool
| Constructor Summary | |
|---|---|
NullWorkExecutorPool(int maxSize)
|
|
| Method Summary | |
|---|---|
void |
execute(java.lang.Runnable command)
|
int |
getMaximumPoolSize()
Gets the maximum number of threads to simultaneously execute. |
int |
getPoolSize()
Gets the current number of active threads in the pool. |
void |
setMaximumPoolSize(int maxSize)
Sets the maximum number of threads to simultaneously execute. |
WorkExecutorPool |
start()
|
WorkExecutorPool |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullWorkExecutorPool(int maxSize)
| Method Detail |
|---|
public int getPoolSize()
WorkExecutorPool
getPoolSize in interface WorkExecutorPoolpublic int getMaximumPoolSize()
WorkExecutorPool
getMaximumPoolSize in interface WorkExecutorPoolpublic void setMaximumPoolSize(int maxSize)
WorkExecutorPool
setMaximumPoolSize in interface WorkExecutorPoolmaxSize - Maximum size.public WorkExecutorPool start()
start in interface WorkExecutorPoolpublic WorkExecutorPool stop()
stop in interface WorkExecutorPoolpublic void execute(java.lang.Runnable command)
execute in interface java.util.concurrent.Executor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||