| Modifier and Type | Interface and Description |
|---|---|
interface |
Result
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Result.AbstractResult
Deprecated.
|
static class |
Result.CompatibleResult
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
Result.CompatibleResult.getDelegate() |
default Result |
Invoker.invoke(Invocation invocation)
Deprecated.
|
default Result |
Filter.invoke(Invoker<?> invoker,
Invocation invocation)
Deprecated.
|
Result |
Result.AbstractResult.whenCompleteWithContext(BiConsumer<Result,Throwable> fn) |
| Modifier and Type | Method and Description |
|---|---|
Result |
Result.AbstractResult.whenCompleteWithContext(BiConsumer<Result,Throwable> fn) |
| Constructor and Description |
|---|
CompatibleResult(Result result) |
| Modifier and Type | Method and Description |
|---|---|
Result |
CacheFilter.invoke(Invoker<?> invoker,
Invocation invocation)
If cache is configured, dubbo will invoke method on each method call.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
DelegateProviderMetaDataInvoker.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
MetricsFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
Result |
ProviderInvokerWrapper.invoke(Invocation invocation) |
Result |
ConsumerInvokerWrapper.invoke(Invocation invocation) |
| Modifier and Type | Class and Description |
|---|---|
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: |
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.
|
| Modifier and Type | Method and Description |
|---|---|
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)
Deprecated.
|
Result |
Result.whenCompleteWithContext(BiConsumer<Result,Throwable> fn)
Add a callback which can be triggered when the RPC call finishes.
|
Result |
AsyncRpcResult.whenCompleteWithContext(BiConsumer<Result,Throwable> fn) |
Result |
AppResponse.whenCompleteWithContext(BiConsumer<Result,Throwable> fn) |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<Result> |
Result.completionFuture() |
| Modifier and Type | Method and Description |
|---|---|
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)
Deprecated.
|
void |
Filter.Listener.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
Result.whenCompleteWithContext(BiConsumer<Result,Throwable> fn)
Add a callback which can be triggered when the RPC call finishes.
|
Result |
AsyncRpcResult.whenCompleteWithContext(BiConsumer<Result,Throwable> fn) |
Result |
AppResponse.whenCompleteWithContext(BiConsumer<Result,Throwable> fn) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
Result |
MockClusterInvoker.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
ListenerInvokerWrapper.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
InvokerWrapper.invoke(Invocation invocation) |
Result |
AsyncToSyncInvoker.invoke(Invocation invocation) |
Result |
AbstractInvoker.invoke(Invocation inv) |
| Modifier and Type | Class and Description |
|---|---|
class |
DecodeableRpcResult |
| Modifier and Type | Method and Description |
|---|---|
Result |
TraceFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
FutureFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
AbstractProxyInvoker.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
MockInvoker.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
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.