org.apache.openejb.core.timer
Class DefaultTimerThreadPoolAdapter
java.lang.Object
org.apache.openejb.core.timer.DefaultTimerThreadPoolAdapter
- All Implemented Interfaces:
- org.quartz.spi.ThreadPool
public class DefaultTimerThreadPoolAdapter
- extends Object
- implements org.quartz.spi.ThreadPool
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPENEJB_TIMER_POOL_SIZE
public static final String OPENEJB_TIMER_POOL_SIZE
- See Also:
- Constant Field Values
OPENEJB_EJB_TIMER_POOL_AWAIT_SECONDS
public static final String OPENEJB_EJB_TIMER_POOL_AWAIT_SECONDS
- See Also:
- Constant Field Values
DefaultTimerThreadPoolAdapter
public DefaultTimerThreadPoolAdapter()
blockForAvailableThreads
public int blockForAvailableThreads()
- Specified by:
blockForAvailableThreads in interface org.quartz.spi.ThreadPool
setInstanceId
public void setInstanceId(String instanceId)
- Specified by:
setInstanceId in interface org.quartz.spi.ThreadPool
setInstanceName
public void setInstanceName(String instanceName)
- Specified by:
setInstanceName in interface org.quartz.spi.ThreadPool
getInstanceId
public String getInstanceId()
getInstanceName
public String getInstanceName()
getPoolSize
public int getPoolSize()
- Specified by:
getPoolSize in interface org.quartz.spi.ThreadPool
initialize
public void initialize()
throws org.quartz.SchedulerConfigException
- Specified by:
initialize in interface org.quartz.spi.ThreadPool
- Throws:
org.quartz.SchedulerConfigException
runInThread
public boolean runInThread(Runnable runnable)
- Specified by:
runInThread in interface org.quartz.spi.ThreadPool
shutdown
public void shutdown(boolean arg0)
- Specified by:
shutdown in interface org.quartz.spi.ThreadPool
getThreadCount
public int getThreadCount()
setThreadCount
public void setThreadCount(int threadCount)
getThreadPriority
public int getThreadPriority()
setThreadPriority
public void setThreadPriority(int threadPriority)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.