Searched refs:threadPool (Results 1 – 1 of 1) sorted by relevance
183 private static ExecutorService threadPool; field in Main478 threadPool = Executors.newFixedThreadPool(args.numThreads); in processAllFiles()522 threadPool.shutdown(); in processAllFiles()523 if (!threadPool.awaitTermination(600L, TimeUnit.SECONDS)) { in processAllFiles()527 threadPool.shutdownNow(); in processAllFiles()630 parallelProcessorFutures.add(threadPool.submit(new ParallelProcessor(opener))); in processOne()