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() |
int |
getPoolSize() |
void |
initialize() |
boolean |
runInThread(Runnable job) |
void |
setInstanceId(String id) |
void |
setInstanceName(String name) |
void |
shutdown(boolean waitForJobsToComplete) |
public QuartzThreadPool(HealthCheckExecutorThreadPool healthCheckExecutorThreadPool)
public int getPoolSize()
getPoolSize
in interface org.quartz.spi.ThreadPool
org.quartz.spi.QuartzThreadPool#getPoolSize()
public void initialize()
initialize
in interface org.quartz.spi.ThreadPool
org.quartz.spi.QuartzThreadPool#initialize()
public void setInstanceId(String id)
setInstanceId
in interface org.quartz.spi.ThreadPool
ThreadPool.setInstanceId(java.lang.String)
public void setInstanceName(String name)
setInstanceName
in interface org.quartz.spi.ThreadPool
ThreadPool.setInstanceName(java.lang.String)
public boolean runInThread(Runnable job)
runInThread
in interface org.quartz.spi.ThreadPool
org.quartz.spi.QuartzThreadPool#runInThread(java.lang.Runnable)
public int blockForAvailableThreads()
blockForAvailableThreads
in interface org.quartz.spi.ThreadPool
ThreadPool.blockForAvailableThreads()
public void shutdown(boolean waitForJobsToComplete)
shutdown
in interface org.quartz.spi.ThreadPool
org.quartz.spi.QuartzThreadPool#shutdown(boolean)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.