Home » geronimo-2.2-source-release » org.apache.geronimo.connector.work.pool » [javadoc | source]
org.apache.geronimo.connector.work.pool
public interface: WorkExecutorPool [javadoc | source]

All Implemented Interfaces:
    EDU.oswego.cs.dl.util.concurrent.Executor

All Known Implementing Classes:
    NullWorkExecutorPool, WorkExecutorPoolImpl

Defines the operations that a pool in charge of the execution of Work instances must expose.
Method from org.apache.geronimo.connector.work.pool.WorkExecutorPool Summary:
getMaximumPoolSize,   getPoolSize,   setMaximumPoolSize,   start,   stop
Method from org.apache.geronimo.connector.work.pool.WorkExecutorPool Detail:
 public int getMaximumPoolSize()
    Gets the maximum number of threads to simultaneously execute.
 public int getPoolSize()
    Gets the current number of active threads in the pool.
 public  void setMaximumPoolSize(int aSize)
    Sets the maximum number of threads to simultaneously execute.
 public WorkExecutorPool start()
 public WorkExecutorPool stop()