| Package | Description |
|---|---|
| java.sql |
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java
TM programming language.
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| javax.management |
Provides the core classes for the Java Management Extensions.
|
| javax.xml.ws |
This package contains the core JAX-WS APIs.
|
| javax.xml.ws.spi |
This package defines SPIs for JAX-WS.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.abort(Executor
Terminates an open connection.
|
void |
Connection.setNetworkTimeout(Executor
Sets the maximum period a
Connection or objects created from the
Connection will wait for the database to reply to any one request.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExecutorService
|
interface |
ScheduledExecutorService
An
ExecutorService that can schedule commands to run after a given delay, or to execute periodically.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExecutorService
Provides default implementations of
ExecutorService execution methods.
|
class |
ForkJoinPool
An
ExecutorService for running
ForkJoinTasks.
|
class |
ScheduledThreadPoolExecutor
A
ThreadPoolExecutor that can additionally schedule commands to run after a given delay, or to execute periodically.
|
class |
ThreadPoolExecutor
An
ExecutorService that executes each submitted task using one of possibly several pooled threads, normally configured using
Executors factory methods.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage |
CompletionStage.acceptEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
|
CompletableFuture |
CompletableFuture.acceptEitherAsync(CompletionStage
|
<U> CompletionStage |
CompletionStage.applyToEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
|
<U> CompletableFuture |
CompletableFuture.applyToEitherAsync(CompletionStage
|
<U> CompletionStage |
CompletionStage.handleAsync(BiFunction
Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed using the supplied executor, with this stage's result and exception as arguments to the supplied function.
|
<U> CompletableFuture |
CompletableFuture.handleAsync(BiFunction
|
CompletionStage |
CompletionStage.runAfterBothAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, executes the given action using the supplied executor See the
CompletionStage documentation for rules covering exceptional completion.
|
CompletableFuture |
CompletableFuture.runAfterBothAsync(CompletionStage
|
CompletionStage |
CompletionStage.runAfterEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action using supplied executor.
|
CompletableFuture |
CompletableFuture.runAfterEitherAsync(CompletionStage
|
static CompletableFuture |
CompletableFuture.runAsync(Runnable
Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor after it runs the given action.
|
static <U> CompletableFuture |
CompletableFuture.supplyAsync(Supplier
Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor with the value obtained by calling the given Supplier.
|
CompletionStage |
CompletionStage.thenAcceptAsync(Consumer
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied action.
|
CompletableFuture |
CompletableFuture.thenAcceptAsync(Consumer
|
<U> CompletionStage |
CompletionStage.thenAcceptBothAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
|
<U> CompletableFuture |
CompletableFuture.thenAcceptBothAsync(CompletionStage
|
<U> CompletionStage |
CompletionStage.thenApplyAsync(Function
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied function.
|
<U> CompletableFuture |
CompletableFuture.thenApplyAsync(Function
|
<U |
CompletionStage.thenCombineAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
|
<U |
CompletableFuture.thenCombineAsync(CompletionStage
|
<U> CompletionStage |
CompletionStage.thenComposeAsync(Function
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied function.
|
<U> CompletableFuture |
CompletableFuture.thenComposeAsync(Function
|
CompletionStage |
CompletionStage.thenRunAsync(Runnable
Returns a new CompletionStage that, when this stage completes normally, executes the given action using the supplied Executor.
|
CompletableFuture |
CompletableFuture.thenRunAsync(Runnable
|
CompletionStage |
CompletionStage.whenCompleteAsync(BiConsumer
Returns a new CompletionStage with the same result or exception as this stage, and when this stage completes, executes using the supplied Executor, the given action with the result (or
null if none) and the exception (or
null if none) of this stage as arguments.
|
CompletableFuture |
CompletableFuture.whenCompleteAsync(BiConsumer
|
| Constructor and Description | |
|---|---|
ExecutorCompletionService(Executor
Creates an ExecutorCompletionService using the supplied executor for base task execution and a
LinkedBlockingQueue as a completion queue.
|
|
ExecutorCompletionService(Executor
Creates an ExecutorCompletionService using the supplied executor for base task execution and the supplied queue as its completion queue.
|
| Constructor and Description | |
|---|---|
NotificationBroadcasterSupport(Executor
Constructs a NotificationBroadcasterSupport where each listener is invoked using the given
Executor.
|
|
NotificationBroadcasterSupport(Executor
Constructs a NotificationBroadcasterSupport with information about the notifications that may be sent, and where each listener is invoked using the given
Executor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Executor |
Endpoint.getExecutor()
Returns the executor for this
Endpointinstance.
|
Executor |
Service.getExecutor()
Returns the executor for this
Serviceinstance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Endpoint.setExecutor(Executor
Sets the executor for this
Endpoint instance.
|
void |
Service.setExecutor(Executor
Sets the executor for this
Service instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Executor |
ServiceDelegate.getExecutor()
Returns the executor for this
Serviceinstance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ServiceDelegate.setExecutor(Executor
Sets the executor for this
Service instance.
|