Lines Matching defs:threadPool
43 private volatile Executor threadPool;
46 public Engine(String id, Executor threadPool) {
48 this.threadPool = threadPool;
55 public void setExecutor(Executor threadPool) {
56 this.threadPool = threadPool;
60 if(threadPool==null) {
62 threadPool = Executors.newCachedThreadPool(new DaemonThreadFactory());
65 threadPool.execute(fiber);