| java.util.concurrent.ScheduledThreadPoolExecutor net.sf.hajdbc.util.concurrent.CronThreadPoolExecutor
CronThreadPoolExecutor | public class CronThreadPoolExecutor extends ScheduledThreadPoolExecutor implements CronExecutorService(Code) | | Scheduled thread-pool executor implementation that leverages a Quartz CronExpression to calculate future execution times for scheduled tasks.
author: Paul Ferraro since: 1.1 |
Field Summary | |
protected static Logger | logger |
logger | protected static Logger logger(Code) | | |
CronThreadPoolExecutor | public CronThreadPoolExecutor(int corePoolSize, RejectedExecutionHandler handler)(Code) | | Constructs a new CronThreadPoolExecutor.
Parameters: corePoolSize - Parameters: handler - |
CronThreadPoolExecutor | public CronThreadPoolExecutor(int corePoolSize)(Code) | | Constructs a new CronThreadPoolExecutor.
Parameters: corePoolSize - |
Methods inherited from java.util.concurrent.ScheduledThreadPoolExecutor | protected RunnableScheduledFuture<V> decorateTask(Runnable runnable, RunnableScheduledFuture<V> task)(Code)(Java Doc) protected RunnableScheduledFuture<V> decorateTask(Callable<V> callable, RunnableScheduledFuture<V> task)(Code)(Java Doc) public void execute(Runnable command)(Code)(Java Doc) public boolean getContinueExistingPeriodicTasksAfterShutdownPolicy()(Code)(Java Doc) public boolean getExecuteExistingDelayedTasksAfterShutdownPolicy()(Code)(Java Doc) public BlockingQueue<Runnable> getQueue()(Code)(Java Doc) public ScheduledFuture> schedule(Runnable command, long delay, TimeUnit unit)(Code)(Java Doc) public ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)(Code)(Java Doc) public ScheduledFuture> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)(Code)(Java Doc) public ScheduledFuture> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)(Code)(Java Doc) public void setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean value)(Code)(Java Doc) public void setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean value)(Code)(Java Doc) public void shutdown()(Code)(Java Doc) public List<Runnable> shutdownNow()(Code)(Java Doc) public Future> submit(Runnable task)(Code)(Java Doc) public Future<T> submit(Runnable task, T result)(Code)(Java Doc) public Future<T> submit(Callable<T> task)(Code)(Java Doc)
|
|
|