|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use ExecutorService |
|
Utility classes commonly useful in concurrent programming.
|
Uses of ExecutorService in java.util.concurrent |
Subinterfaces of ExecutorService in java.util.concurrent |
|
interface |
An ExecutorService that can schedule commands to run after a given
delay, or to execute periodically.
|
Classes in java.util.concurrent that implement ExecutorService |
|
abstract class |
Provides default implementations of ExecutorService
execution methods.
|
class |
An ExecutorService for running ForkJoinTasks.
|
class |
A ThreadPoolExecutor that can additionally schedule
commands to run after a given delay, or to execute periodically.
|
class |
An ExecutorService that executes each submitted task using
one of possibly several pooled threads, normally configured
using Executors factory methods.
|
Methods in java.util.concurrent that return ExecutorService |
|
static ExecutorService |
Executors.newCachedThreadPool()
Creates a thread pool that creates new threads as needed, but
will reuse previously constructed threads when they are
available.
|
static ExecutorService |
Executors.newCachedThreadPool(ThreadFactory threadFactory)
Creates a thread pool that creates new threads as needed, but
will reuse previously constructed threads when they are
available, and uses the provided
ThreadFactory to create new threads when needed.
|
static ExecutorService |
Executors.newFixedThreadPool(int nThreads)
Creates a thread pool that reuses a fixed number of threads
operating off a shared unbounded queue.
|
static ExecutorService |
Executors.newFixedThreadPool(int nThreads, ThreadFactory threadFactory)
Creates a thread pool that reuses a fixed number of threads
operating off a shared unbounded queue, using the provided
ThreadFactory to create new threads when needed.
|
static ExecutorService |
Executors.newSingleThreadExecutor()
Creates an Executor that uses a single worker thread operating
off an unbounded queue.
|
static ExecutorService |
Executors.newSingleThreadExecutor(ThreadFactory threadFactory)
Creates an Executor that uses a single worker thread operating
off an unbounded queue, and uses the provided ThreadFactory to
create a new thread when needed.
|
static ExecutorService |
Executors.newWorkStealingPool()
Creates a work-stealing thread pool using the number of
available processors
as its target parallelism level.
|
static ExecutorService |
Executors.newWorkStealingPool(int parallelism)
Creates a thread pool that maintains enough threads to support
the given parallelism level, and may use multiple queues to
reduce contention.
|
static ExecutorService |
Executors.unconfigurableExecutorService(ExecutorService executor)
Returns an object that delegates all defined ExecutorService methods to the given executor, but not any
other methods that might otherwise be accessible using
casts.
|
Methods in java.util.concurrent with parameters of type ExecutorService |
|
static ExecutorService |
Executors.unconfigurableExecutorService(ExecutorService executor)
Returns an object that delegates all defined ExecutorService methods to the given executor, but not any
other methods that might otherwise be accessible using
casts.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |