Annotation Interface ExecuteOn


Annotation used to indicate which executor service a particular task should run on.

Micronaut will by default run end user operations in the same thread that executes the request. This annotation can be used to indicate that a different thread should be used when executing an operation.

Used to, for example, offload blocking I/O operations to specifically configured thread pool.

Since:
2.0
Author:
graemerocher
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details