@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,ANNOTATION_TYPE})
@Executable
@Around
@Type(value=AsyncInterceptor.class)
public @interface Async
CompletionStage to indicate the actual execution should occur
on the given thread pool.
Additional thread pools can be configured with the micronaut.executors configuration.
UserExecutorConfiguration,
TaskExecutors| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
value
The name of the executor service to execute the task on.
|
public abstract java.lang.String value
TaskExecutors.SCHEDULED