public class QuartzCachedThreadPool extends Object implements org.quartz.spi.ThreadPool
Constructor and Description |
---|
QuartzCachedThreadPool() |
Modifier and Type | Method and Description |
---|---|
int |
blockForAvailableThreads() |
int |
getPoolSize() |
void |
initialize() |
boolean |
runInThread(Runnable task) |
void |
setInstanceId(String instanceId) |
void |
setInstanceName(String instanceName) |
void |
shutdown(boolean waitForJobsToComplete) |
public int blockForAvailableThreads()
blockForAvailableThreads
in interface org.quartz.spi.ThreadPool
public int getPoolSize()
getPoolSize
in interface org.quartz.spi.ThreadPool
public void initialize() throws org.quartz.SchedulerConfigException
initialize
in interface org.quartz.spi.ThreadPool
org.quartz.SchedulerConfigException
public boolean runInThread(Runnable task)
runInThread
in interface org.quartz.spi.ThreadPool
public void setInstanceId(String instanceId)
setInstanceId
in interface org.quartz.spi.ThreadPool
public void setInstanceName(String instanceName)
setInstanceName
in interface org.quartz.spi.ThreadPool
public void shutdown(boolean waitForJobsToComplete)
shutdown
in interface org.quartz.spi.ThreadPool
Copyright © 2022 WSO2. All rights reserved.