public class LocalTaskExecutorThreadPool extends java.lang.Object implements ThreadPool
SchedulerFactoryBean.setTaskExecutor(java.util.concurrent.Executor)| コンストラクターと説明 |
|---|
LocalTaskExecutorThreadPool() |
| 修飾子と型 | メソッドと説明 |
|---|---|
int | blockForAvailableThreads() |
int | getPoolSize() |
void | initialize() |
boolean | runInThread(java.lang.Runnable runnable) |
void | setInstanceId(java.lang.String schedInstId) |
void | setInstanceName(java.lang.String schedName) |
void | shutdown(boolean waitForJobsToComplete) |
protected final Log logger
public void setInstanceId(java.lang.String schedInstId)
ThreadPool 内の setInstanceId public void setInstanceName(java.lang.String schedName)
ThreadPool 内の setInstanceName public void initialize()
throws SchedulerConfigExceptionThreadPool 内の initialize SchedulerConfigExceptionpublic void shutdown(boolean waitForJobsToComplete)
ThreadPool 内の shutdown public int getPoolSize()
ThreadPool 内の getPoolSize public boolean runInThread(java.lang.Runnable runnable)
ThreadPool 内の runInThread public int blockForAvailableThreads()
ThreadPool 内の blockForAvailableThreads