Class FutureAdapter<V>

java.lang.Object
java.util.concurrent.CompletableFuture<V>
org.apache.dubbo.rpc.protocol.dubbo.FutureAdapter<V>
All Implemented Interfaces:
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)