public class LocalTaskExecutorThreadPool extends ObjectSE implements ThreadPool
SchedulerFactoryBean.setTaskExecutor(java.util.concurrent.Executor)
コンストラクターと説明 |
---|
LocalTaskExecutorThreadPool() |
修飾子と型 | メソッドと説明 |
---|---|
int | blockForAvailableThreads() |
int | getPoolSize() |
void | initialize() |
boolean | runInThread(RunnableSE runnable) |
void | setInstanceId(StringSE schedInstId) |
void | setInstanceName(StringSE schedName) |
void | shutdown(boolean waitForJobsToComplete) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected final Log logger
public void setInstanceId(StringSE schedInstId)
ThreadPool
の setInstanceId
public void setInstanceName(StringSE schedName)
ThreadPool
の setInstanceName
public void initialize() throws SchedulerConfigException
ThreadPool
の initialize
SchedulerConfigException
public void shutdown(boolean waitForJobsToComplete)
ThreadPool
の shutdown
public int getPoolSize()
ThreadPool
の getPoolSize
public boolean runInThread(RunnableSE runnable)
ThreadPool
の runInThread
public int blockForAvailableThreads()
ThreadPool
の blockForAvailableThreads