| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Result
已过时。
|
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Result.AbstractResult
已过时。
|
static class |
Result.CompatibleResult
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
Result.CompatibleResult.getDelegate() |
default Result |
Invoker.invoke(Invocation invocation)
已过时。
|
default Result |
Filter.invoke(Invoker<?> invoker,
Invocation invocation)
已过时。
|
Result |
Result.AbstractResult.thenApplyWithContext(Function<Result,Result> fn) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
Result.AbstractResult.thenApplyWithContext(Function<Result,Result> fn) |
Result |
Result.AbstractResult.thenApplyWithContext(Function<Result,Result> fn) |
| 构造器和说明 |
|---|
CompatibleResult(Result result) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
CacheFilter.invoke(Invoker<?> invoker,
Invocation invocation)
If cache is configured, dubbo will invoke method on each method call.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
DelegateProviderMetaDataInvoker.invoke(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
MetricsFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
MonitorFilter.invoke(Invoker<?> invoker,
Invocation invocation)
The invocation interceptor,it will collect the invoke data about this invocation and send it to monitor center
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ProviderInvokerWrapper.invoke(Invocation invocation) |
Result |
ConsumerInvokerWrapper.invoke(Invocation invocation) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractResult |
class |
AppResponse
AsyncRpcResult is introduced in 3.0.0 to replace RpcResult, and RpcResult is replaced with AppResponse:
AsyncRpcResult is the object that is actually passed in the call chain
AppResponse only simply represents the business result
The relationship between them can be described as follow, an abstraction of the definition of AsyncRpcResult:
Public class AsyncRpcResult implements CompletionStage |
class |
AsyncRpcResult
This class represents an unfinished RPC call, it will hold some context information for this call, for example RpcContext and Invocation,
so that when the call finishes and the result returns, it can guarantee all the contexts being recovered as the same as when the call was made
before any callback is invoked.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
AsyncRpcResult.getAppResponse() |
Result |
Result.getNow(Result valueIfAbsent)
Returns the specified
valueIfAbsent when not complete, or
returns the result value or throws an exception when complete. |
Result |
Invoker.invoke(Invocation invocation)
invoke.
|
Result |
Filter.invoke(Invoker<?> invoker,
Invocation invocation)
Does not need to override/implement this method.
|
default Result |
Filter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation)
已过时。
|
Result |
Result.thenApplyWithContext(Function<Result,Result> fn)
Add a callback which can be triggered when the RPC call finishes.
|
Result |
AsyncRpcResult.thenApplyWithContext(Function<Result,Result> fn) |
Result |
AppResponse.thenApplyWithContext(Function<Result,Result> fn) |
| 限定符和类型 | 方法和说明 |
|---|---|
default CompletableFuture<Result> |
Result.completionFuture() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
Result.getNow(Result valueIfAbsent)
Returns the specified
valueIfAbsent when not complete, or
returns the result value or throws an exception when complete. |
default Result |
Filter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation)
已过时。
|
void |
Filter.Listener.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
Result.thenApplyWithContext(Function<Result,Result> fn)
Add a callback which can be triggered when the RPC call finishes.
|
Result |
Result.thenApplyWithContext(Function<Result,Result> fn)
Add a callback which can be triggered when the RPC call finishes.
|
Result |
AsyncRpcResult.thenApplyWithContext(Function<Result,Result> fn) |
Result |
AsyncRpcResult.thenApplyWithContext(Function<Result,Result> fn) |
Result |
AppResponse.thenApplyWithContext(Function<Result,Result> fn) |
Result |
AppResponse.thenApplyWithContext(Function<Result,Result> fn) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
RegistryAwareClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
ForkingClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
FailsafeClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
FailoverClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
FailfastClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
BroadcastClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
AvailableClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
Result |
AbstractClusterInvoker.invoke(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
MockClusterInvoker.invoke(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
TpsLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
TokenFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
TimeoutFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
GenericImplFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
GenericFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
ExecuteLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ExceptionFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
EchoFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
DeprecatedFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ContextFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ConsumerContextFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
CompatibleFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ClassLoaderFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ActiveLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
AccessLogFilter.invoke(Invoker<?> invoker,
Invocation inv)
This method logs the access log for service method invocation call.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ListenerInvokerWrapper.invoke(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
InvokerWrapper.invoke(Invocation invocation) |
Result |
AsyncToSyncInvoker.invoke(Invocation invocation) |
Result |
AbstractInvoker.invoke(Invocation inv) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DecodeableRpcResult |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
TraceFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
FutureFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
AbstractProxyInvoker.invoke(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
MockInvoker.invoke(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
ValidationFilter.invoke(Invoker<?> invoker,
Invocation invocation)
Perform the validation of before invoking the actual method based on validation attribute value.
|
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.