Uses of Interface
java.util.concurrent.ExecutorService
 
   -  
      Packages that use ExecutorService 软件包 描述 java.nio.channels 定义通道,其表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.nio.channels.spi java.nio.channels包的服务提供商类。java.nio.file.spi 服务提供商类为java.nio.file包。java.util.concurrent 实用程序类通常用于并发编程。
-  
      -  
        Uses of ExecutorService in java.nio.channelsMethods in java.nio.channels with parameters of type ExecutorService Modifier and Type 方法 描述 static AsynchronousFileChannelAsynchronousFileChannel. open(Path file, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs)打开或创建用于读取和/或写入的文件,返回异步文件通道以访问该文件。static AsynchronousChannelGroupAsynchronousChannelGroup. withCachedThreadPool(ExecutorService executor, int initialSize)创建具有给定线程池的异步通道组,根据需要创建新线程。static AsynchronousChannelGroupAsynchronousChannelGroup. withThreadPool(ExecutorService executor)使用给定的线程池创建异步通道组。
-  
        Uses of ExecutorService in java.nio.channels.spiMethods in java.nio.channels.spi with parameters of type ExecutorService Modifier and Type 方法 描述 abstract AsynchronousChannelGroupAsynchronousChannelProvider. openAsynchronousChannelGroup(ExecutorService executor, int initialSize)使用给定的线程池构造新的异步通道组。
-  
        Uses of ExecutorService in java.nio.file.spiMethods in java.nio.file.spi with parameters of type ExecutorService Modifier and Type 方法 描述 AsynchronousFileChannelFileSystemProvider. newAsynchronousFileChannel(Path path, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs)打开或创建用于读取和/或写入的文件,返回异步文件通道以访问该文件。
-  
        Uses of ExecutorService in java.util.concurrentSubinterfaces of ExecutorService in java.util.concurrent Modifier and Type 接口 描述 interfaceScheduledExecutorService一个ExecutorService,可以调度命令在给定的延迟之后运行,或定期执行。Classes in java.util.concurrent that implement ExecutorService Modifier and Type Class 描述 classAbstractExecutorService提供ExecutorService执行方法的默认实现。classForkJoinPool一个ExecutorService,用于运行ForkJoinTasks。classScheduledThreadPoolExecutorAThreadPoolExecutor可以额外地调度命令在给定的延迟之后运行,或者周期性地执行。classThreadPoolExecutor一个ExecutorService,它使用可能的几个合并的线程中的一个执行每个提交的任务,通常使用Executors工厂方法配置。Methods in java.util.concurrent that return ExecutorService Modifier and Type 方法 描述 static ExecutorServiceExecutors. newCachedThreadPool()创建一个根据需要创建新线程的线程池,但在可用时将重新使用以前构造的线程。static ExecutorServiceExecutors. newCachedThreadPool(ThreadFactory threadFactory)创建一个根据需要创建新线程的线程池,但在可用时将重新使用以前构造的线程,并在需要时使用提供的ThreadFactory创建新线程。static ExecutorServiceExecutors. newFixedThreadPool(int nThreads)创建一个线程池,该线程池重用固定数量的从共享无界队列中运行的线程。static ExecutorServiceExecutors. newFixedThreadPool(int nThreads, ThreadFactory threadFactory)创建一个线程池,重用固定数量的线程,从共享无界队列中运行,使用提供的ThreadFactory在需要时创建新线程。static ExecutorServiceExecutors. newSingleThreadExecutor()创建一个使用从无界队列运行的单个工作线程的执行程序。static ExecutorServiceExecutors. newSingleThreadExecutor(ThreadFactory threadFactory)创建一个使用单个工作线程运行无界队列的执行程序,并在需要时使用提供的ThreadFactory创建一个新线程。static ExecutorServiceExecutors. newWorkStealingPool()使用 available processors作为其目标并行级别创建一个工作窃取线程池。static ExecutorServiceExecutors. newWorkStealingPool(int parallelism)创建一个维护足够的线程以支持给定的并行级别的线程池,并且可以使用多个队列来减少争用。static ExecutorServiceExecutors. unconfigurableExecutorService(ExecutorService executor)返回一个将所有定义的ExecutorService方法委托给给定执行程序的对象,但不能使用任何其他可能使用转换访问的方法。Methods in java.util.concurrent with parameters of type ExecutorService Modifier and Type 方法 描述 static ExecutorServiceExecutors. unconfigurableExecutorService(ExecutorService executor)返回一个将所有定义的ExecutorService方法委托给给定执行程序的对象,但不能使用任何其他可能使用转换访问的方法。
 
-