-
Nested Class Summary
Nested Classes
static class
Fluent API builder for
Async
.
static class
Fluent API builder base for
Async
.
-
Method Summary
Create a new fluent API builder to customize configuration.
Create a new fluent API builder from an existing instance.
Create a new instance with default values.
Create a new instance from configuration.
Name of an executor service.
Name for debugging, error reporting, monitoring.
A future that is completed when execution of the asynchronous task starts.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.
- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.
- Parameters:
instance
- an existing instance used as a base for the builder
- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.
- Parameters:
config
- used to configure the new instance
- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.
- Returns:
- a new instance
-
name
Name for debugging, error reporting, monitoring.
- Returns:
- name of this async
-
executorName
Name of an executor service. This is only honored when service registry is used.
- Returns:
- name fo the
ExecutorService
to lookup
- See Also:
-
-
executor
Executor service. Will be used to run the asynchronous tasks.
- Returns:
- explicit executor service
-
onStart
A future that is completed when execution of the asynchronous task starts.
- Returns:
- future that will be completed by the asynchronous processing