20230713 java.util.concurrent.ExecutorService

介绍

  • java.util.concurrent.ExecutorService
  • public interface ExecutorService extends Executor

API

  • shutdown

  • shutdownNow

  • isShutdown

  • isTerminated

  • awaitTermination

  • submit

    • Future<?> submit(Runnable task);
    • <T> Future<T> submit(Runnable task, T result);
    • <T> Future<T> submit(Callable<T> task);
  • invokeAll

  • invokeAny

posted @ 2023-08-22 17:39  流星<。)#)))≦  阅读(7)  评论(0编辑  收藏  举报