Annotation Interface Ft.Async

Enclosing class:
Ft

@Retention(CLASS) @Documented @Intercepted @Target(METHOD) public static @interface Ft.Async
Runs the annotated method asynchronously.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of an executor service to use.
    If named, an attempt will be made to find a named Async instance in service registry.
  • Element Details

    • name

      String name
      If named, an attempt will be made to find a named Async instance in service registry. If not found, a new async will be created based on values on this annotation.
      Returns:
      name of this async
      Default:
      ""
    • executorName

      String executorName
      Name of an executor service to use. An attempt will be done to discover the executor service in service registry. If none found, uses the default fault tolerance executor service.
      Returns:
      name of the executor service to use
      Default:
      ""