org.springframework.scheduling.quartz
Class LocalTaskExecutorThreadPool
java.lang.Object
   org.springframework.scheduling.quartz.LocalTaskExecutorThreadPool
org.springframework.scheduling.quartz.LocalTaskExecutorThreadPool
- All Implemented Interfaces: 
- ThreadPool
- public class LocalTaskExecutorThreadPool 
- extends Object- implements ThreadPool
Quartz ThreadPool adapter that delegates to a Spring-managed
 TaskExecutor instance, specified on SchedulerFactoryBean.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
- SchedulerFactoryBean.setTaskExecutor(org.springframework.core.task.TaskExecutor)
| Field Summary | 
| protected  Log | loggerLogger available to subclasses
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
logger
protected final Log logger
- Logger available to subclasses
 
 
LocalTaskExecutorThreadPool
public LocalTaskExecutorThreadPool()
initialize
public void initialize()
                throws SchedulerConfigException
- 
- Specified by:
- initializein interface- ThreadPool
 
- 
- Throws:
- SchedulerConfigException
 
shutdown
public void shutdown(boolean waitForJobsToComplete)
- 
- Specified by:
- shutdownin interface- ThreadPool
 
- 
 
getPoolSize
public int getPoolSize()
- 
- Specified by:
- getPoolSizein interface- ThreadPool
 
- 
 
runInThread
public boolean runInThread(Runnable runnable)
- 
- Specified by:
- runInThreadin interface- ThreadPool
 
- 
 
blockForAvailableThreads
public int blockForAvailableThreads()
- 
- Specified by:
- blockForAvailableThreadsin interface- ThreadPool
 
- 
 
Copyright © 2002-2008 The Spring Framework.