private ListeningExecutorService executorService = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool());
//jdk1.8的lambda实现
executorService.submit(() -> ctrlStrategy.dump(key, cache));

 

相关文章:

  • 2021-12-01
  • 2021-10-13
  • 2021-06-08
  • 2021-11-05
  • 2022-12-23
  • 2021-10-12
  • 2021-09-07
猜你喜欢
  • 2022-01-10
  • 2022-02-06
  • 2022-12-23
  • 2022-01-02
  • 2021-06-28
相关资源
相似解决方案