public abstract static class Result.AbstractResult extends Object implements Result
Result.AbstractResult, Result.CompatibleResult| 构造器和说明 |
|---|
AbstractResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.dubbo.rpc.Result |
get() |
org.apache.dubbo.rpc.Result |
get(long timeout,
TimeUnit unit) |
void |
setValue(Object value) |
<U> CompletableFuture<U> |
thenApply(Function<org.apache.dubbo.rpc.Result,? extends U> fn) |
org.apache.dubbo.rpc.Result |
whenCompleteWithContext(BiConsumer<org.apache.dubbo.rpc.Result,Throwable> fn) |
addObjectAttachments, getObjectAttachment, getObjectAttachment, getObjectAttachments, setException, setObjectAttachmentspublic void setValue(Object value)
setValue 在接口中 org.apache.dubbo.rpc.Resultpublic org.apache.dubbo.rpc.Result whenCompleteWithContext(BiConsumer<org.apache.dubbo.rpc.Result,Throwable> fn)
whenCompleteWithContext 在接口中 org.apache.dubbo.rpc.Resultpublic <U> CompletableFuture<U> thenApply(Function<org.apache.dubbo.rpc.Result,? extends U> fn)
thenApply 在接口中 org.apache.dubbo.rpc.Resultpublic org.apache.dubbo.rpc.Result get()
throws InterruptedException,
ExecutionException
get 在接口中 org.apache.dubbo.rpc.ResultInterruptedExceptionExecutionExceptionpublic org.apache.dubbo.rpc.Result get(long timeout,
TimeUnit unit)
throws InterruptedException,
ExecutionException,
TimeoutException
get 在接口中 org.apache.dubbo.rpc.ResultInterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.