类 FutureAdapter<V>

  • 所有已实现的接口:
    CompletionStage<V>, Future<V>

    public class FutureAdapter<V>
    extends CompletableFuture<V>
    This is the type of the Future instance users get in an async call: 1. unwrap AppResponse in appResponseFuture and convert to plain biz result represented by FutureAdapter. 2. customized behaviors meaningful for RPC, for example, cancel(boolean)