Class LocalTaskExecutorThreadPool
java.lang.Object
org.springframework.scheduling.quartz.LocalTaskExecutorThreadPool
- All Implemented Interfaces:
 ThreadPool
Quartz 
ThreadPool adapter that delegates to a Spring-managed
 Executor instance, specified on SchedulerFactoryBean.- Since:
 - 2.0
 - Author:
 - Juergen Hoeller
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintintvoidbooleanrunInThread(Runnable runnable) voidsetInstanceId(String schedInstId) voidsetInstanceName(String schedName) voidshutdown(boolean waitForJobsToComplete)  
- 
Field Details
- 
logger
Logger available to subclasses. 
 - 
 - 
Constructor Details
- 
LocalTaskExecutorThreadPool
public LocalTaskExecutorThreadPool() 
 - 
 - 
Method Details
- 
setInstanceId
- Specified by:
 setInstanceIdin interfaceThreadPool
 - 
setInstanceName
- Specified by:
 setInstanceNamein interfaceThreadPool
 - 
initialize
- Specified by:
 initializein interfaceThreadPool- Throws:
 SchedulerConfigException
 - 
shutdown
public void shutdown(boolean waitForJobsToComplete) - Specified by:
 shutdownin interfaceThreadPool
 - 
getPoolSize
public int getPoolSize()- Specified by:
 getPoolSizein interfaceThreadPool
 - 
runInThread
- Specified by:
 runInThreadin interfaceThreadPool
 - 
blockForAvailableThreads
public int blockForAvailableThreads()- Specified by:
 blockForAvailableThreadsin interfaceThreadPool
 
 -