org.apache.geronimo.pool
Class ThreadPool
java.lang.Object
org.apache.geronimo.pool.ThreadPool
- All Implemented Interfaces:
- EDU.oswego.cs.dl.util.concurrent.Executor, org.apache.geronimo.gbean.GBeanLifecycle
- public class ThreadPool
- extends Object
- implements EDU.oswego.cs.dl.util.concurrent.Executor, org.apache.geronimo.gbean.GBeanLifecycle
- Version:
- $Revision: 1.6 $ $Date: 2004/07/18 21:53:03 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
ThreadPool
public ThreadPool()
getKeepAliveTime
public long getKeepAliveTime()
setKeepAliveTime
public void setKeepAliveTime(long keepAliveTime)
getPoolSize
public int getPoolSize()
setPoolSize
public void setPoolSize(int poolSize)
getPoolName
public String getPoolName()
execute
public void execute(Runnable command)
throws InterruptedException
- Specified by:
execute
in interface EDU.oswego.cs.dl.util.concurrent.Executor
- Throws:
InterruptedException
setPoolName
public void setPoolName(String poolName)
doStart
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doStop
public void doStop()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.