關於guava實現線程池

private ListeningExecutorService executorService = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool());
//jdk1.8的lambda實現
executorService.submit(() -> ctrlStrategy.dump(key, cache));
相關文章
相關標籤/搜索