1 17 18 21 package org.quartz.spi; 22 23 import org.quartz.SchedulerConfigException; 24 25 46 public interface ThreadPool { 47 48 55 56 70 boolean runInThread(Runnable runnable); 71 72 85 int blockForAvailableThreads(); 86 87 93 void initialize() throws SchedulerConfigException; 94 95 102 void shutdown(boolean waitForJobsToComplete); 103 104 int getPoolSize(); 105 } 106 | Popular Tags |