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 SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogLogger available to subclasses.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintvoidbooleanrunInThread(Runnable runnable) voidsetInstanceId(String schedInstId) voidsetInstanceName(String schedName) voidshutdown(boolean waitForJobsToComplete) 
- 
Field Details- 
loggerprotected final org.apache.commons.logging.Log loggerLogger available to subclasses.
 
- 
- 
Constructor Details- 
LocalTaskExecutorThreadPoolpublic LocalTaskExecutorThreadPool()
 
- 
- 
Method Details- 
setInstanceId- Specified by:
- setInstanceIdin interface- ThreadPool
 
- 
setInstanceName- Specified by:
- setInstanceNamein interface- ThreadPool
 
- 
initialize- Specified by:
- initializein interface- ThreadPool
- Throws:
- SchedulerConfigException
 
- 
shutdownpublic void shutdown(boolean waitForJobsToComplete) - Specified by:
- shutdownin interface- ThreadPool
 
- 
getPoolSizepublic int getPoolSize()- Specified by:
- getPoolSizein interface- ThreadPool
 
- 
runInThread- Specified by:
- runInThreadin interface- ThreadPool
 
- 
blockForAvailableThreadspublic int blockForAvailableThreads()- Specified by:
- blockForAvailableThreadsin interface- ThreadPool
 
 
-