| |
|
| org.apache.cocoon.components.thread.DefaultThreadPool
DefaultThreadPool | public class DefaultThreadPool extends PooledExecutor implements ThreadPool,LogEnabled(Code) | | The DefaultThreadPool class implements the
ThreadPool interface.
Instances of this class are made by the
RunnableManager passing a
configuration into the configure method.
author: Giacomo Pati version: CVS $Id: DefaultThreadPool.java 56843 2004-11-07 13:34:30Z giacomo $ |
POLICY_DEFAULT | final public static String POLICY_DEFAULT(Code) | | Default ThreadPool block policy
|
DefaultThreadPool | DefaultThreadPool()(Code) | | Create a new pool.
|
enableLogging | public void enableLogging(Logger logger)(Code) | | Set the logger
Parameters: logger - See Also: org.apache.avalon.framework.logger.LogEnabled.enableLogging(org.apache.avalon.framework.logger.Logger) |
getBlockPolicy | public String getBlockPolicy()(Code) | | DOCUMENT ME!
Returns the blockPolicy. |
getShutdownWaitTimeMs | int getShutdownWaitTimeMs()(Code) | | DOCUMENT ME!
Returns the shutdownWaitTimeMs. |
isShutdownGraceful | boolean isShutdownGraceful()(Code) | | DOCUMENT ME!
Returns the shutdownGraceful. |
setBlockPolicy | void setBlockPolicy(String blockPolicy)(Code) | | Set the blocking policy
Parameters: blockPolicy - The blocking policy value |
setName | void setName(String name)(Code) | | DOCUMENT ME!
Parameters: name - The name to set. |
setQueue | void setQueue(int queueSize)(Code) | | DOCUMENT ME!
Parameters: queueSize - DOCUMENT ME! |
setShutdownGraceful | void setShutdownGraceful(boolean shutdownGraceful)(Code) | | DOCUMENT ME!
Parameters: shutdownGraceful - The shutdownGraceful to set. |
setShutdownWaitTimeMs | void setShutdownWaitTimeMs(int shutdownWaitTimeMs)(Code) | | DOCUMENT ME!
Parameters: shutdownWaitTimeMs - The shutdownWaitTimeMs to set. |
|
|
|