@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Inherited
public @interface Asynchronous
Future.
Otherwise, FaultToleranceDefinitionException occurs.
Example usage:
@Asynchronous
public Future<String> getString() {
return CompletableFuture.completedFuture("hello");
}