public class QuartzCronScheduler.QuartzThreadPool extends Object implements org.quartz.spi.ThreadPool
| Constructor and Description |
|---|
QuartzThreadPool(HealthCheckExecutorThreadPool healthCheckExecutorThreadPool) |
| Modifier and Type | Method and Description |
|---|---|
int |
blockForAvailableThreads()
see org.quartz.spi.ThreadPool#blockForAvailableThreads()
|
int |
getPoolSize()
see org.quartz.spi.QuartzThreadPool#getPoolSize()
|
void |
initialize()
see org.quartz.spi.QuartzThreadPool#initialize()
|
boolean |
runInThread(Runnable job)
see org.quartz.spi.QuartzThreadPool#runInThread(java.lang.Runnable)
|
void |
setInstanceId(String id)
see org.quartz.spi.ThreadPool#setInstanceId(java.lang.String)
|
void |
setInstanceName(String name)
see org.quartz.spi.ThreadPool#setInstanceName(java.lang.String)
|
void |
shutdown(boolean waitForJobsToComplete)
see org.quartz.spi.QuartzThreadPool#shutdown(boolean)
|
public QuartzThreadPool(HealthCheckExecutorThreadPool healthCheckExecutorThreadPool)
public int getPoolSize()
getPoolSize in interface org.quartz.spi.ThreadPoolpublic void initialize()
initialize in interface org.quartz.spi.ThreadPoolpublic void setInstanceId(String id)
setInstanceId in interface org.quartz.spi.ThreadPoolpublic void setInstanceName(String name)
setInstanceName in interface org.quartz.spi.ThreadPoolpublic boolean runInThread(Runnable job)
runInThread in interface org.quartz.spi.ThreadPoolpublic int blockForAvailableThreads()
blockForAvailableThreads in interface org.quartz.spi.ThreadPoolpublic void shutdown(boolean waitForJobsToComplete)
shutdown in interface org.quartz.spi.ThreadPoolCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.