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