| Modifier and Type | Method and Description |
|---|---|
Cache |
AbstractCacheFactory.getCache(URL url,
Invocation invocation)
Deprecated.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Invocation
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Invocation.CompatibleInvocation
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
default Invocation |
Invocation.getOriginal()
Deprecated.
|
Invocation |
Invocation.CompatibleInvocation.getOriginal() |
| Modifier and Type | Method and Description |
|---|---|
default Result |
Invoker.invoke(Invocation invocation)
Deprecated.
|
default Result |
Filter.invoke(Invoker<?> invoker,
Invocation invocation)
Deprecated.
|
| Constructor and Description |
|---|
CompatibleInvocation(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
default List<Invoker<T>> |
Directory.list(Invocation invocation)
Deprecated.
|
default <T> List<Invoker<T>> |
Router.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation)
Deprecated.
|
default <T> Invoker<T> |
LoadBalance.select(List<Invoker<T>> invokers,
URL url,
Invocation invocation)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Cache |
CacheFactory.getCache(URL url,
Invocation invocation)
CacheFactory implementation class needs to implement this return underlying cache instance for method against
url and invocation.
|
| 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 |
|---|---|
Cache |
AbstractCacheFactory.getCache(URL url,
Invocation invocation)
Takes URL and invocation instance and return cache instance for a given url.
|
| 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
|
void |
MonitorFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
MonitorFilter.onResponse(Result result,
Invoker<?> invoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
List<Invoker<T>> |
RegistryDirectory.doList(Invocation invocation) |
| Modifier and Type | Class and Description |
|---|---|
class |
RpcInvocation
RPC Invocation.
|
| Modifier and Type | Method and Description |
|---|---|
Invocation |
RpcContext.getInvocation()
Deprecated.
Replace to getMethodName(), getParameterTypes(), getArguments()
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListenableFilter.addListener(Invocation invocation,
Filter.Listener listener) |
String |
ZoneDetector.getZoneOfCurrentRequest(Invocation invocation) |
Result |
Invoker.invoke(Invocation invocation)
invoke.
|
Result |
Filter.invoke(Invoker<?> invoker,
Invocation invocation)
Make sure call invoker.invoke() in your implementation.
|
String |
ZoneDetector.isZoneForcingEnabled(Invocation invocation,
String zone) |
Filter.Listener |
ListenableFilter.listener(Invocation invocation) |
static AsyncRpcResult |
AsyncRpcResult.newDefaultAsyncResult(AppResponse appResponse,
Invocation invocation)
Some utility methods used to quickly generate default AsyncRpcResult instance.
|
static AsyncRpcResult |
AsyncRpcResult.newDefaultAsyncResult(Invocation invocation) |
static AsyncRpcResult |
AsyncRpcResult.newDefaultAsyncResult(Object value,
Invocation invocation) |
static AsyncRpcResult |
AsyncRpcResult.newDefaultAsyncResult(Object value,
Throwable t,
Invocation invocation) |
static AsyncRpcResult |
AsyncRpcResult.newDefaultAsyncResult(Throwable t,
Invocation invocation) |
void |
Filter.Listener.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
Filter.Listener.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ListenableFilter.removeListener(Invocation invocation) |
RpcContext |
RpcContext.setInvocation(Invocation invocation) |
| Constructor and Description |
|---|
AsyncRpcResult(CompletableFuture<AppResponse> future,
Invocation invocation) |
RpcInvocation(Invocation invocation) |
RpcInvocation(Invocation invocation,
Invoker<?> invoker) |
| Modifier and Type | Method and Description |
|---|---|
List<Invoker<T>> |
Directory.list(Invocation invocation)
list invokers.
|
<T> List<Invoker<T>> |
Router.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation)
Filter invokers with current routing rule and only return the invokers that comply with the rule.
|
List<Invoker<T>> |
RouterChain.route(URL url,
Invocation invocation) |
<T> Invoker<T> |
LoadBalance.select(List<Invoker<T>> invokers,
URL url,
Invocation invocation)
select one invoker in list.
|
| Modifier and Type | Method and Description |
|---|---|
List<Invoker<T>> |
AbstractDirectory.list(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
ZoneAwareClusterInterceptor.after(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
void |
ConsumerContextClusterInterceptor.after(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
void |
ClusterInterceptor.after(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
void |
ZoneAwareClusterInterceptor.before(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
void |
ConsumerContextClusterInterceptor.before(AbstractClusterInvoker<?> invoker,
Invocation invocation) |
void |
ClusterInterceptor.before(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
default Result |
ClusterInterceptor.intercept(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation)
Does not need to override this method, override
ClusterInterceptor.before(AbstractClusterInvoker, Invocation)
and ClusterInterceptor.after(AbstractClusterInvoker, Invocation), methods to add your own logic expected to be
executed before and after invoke. |
void |
ConsumerContextClusterInterceptor.onError(Throwable t,
AbstractClusterInvoker<?> invoker,
Invocation invocation) |
void |
ClusterInterceptor.Listener.onError(Throwable t,
AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
void |
ConsumerContextClusterInterceptor.onMessage(Result appResponse,
AbstractClusterInvoker<?> invoker,
Invocation invocation) |
void |
ClusterInterceptor.Listener.onMessage(Result appResponse,
AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<T> Invoker<T> |
AbstractLoadBalance.select(List<Invoker<T>> invokers,
URL url,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Invoker<T>> |
ConditionRouter.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Invoker<T>> |
ListenableRouter.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Invoker<T>> |
MockInvokersSelector.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Invoker<T>> |
ScriptRouter.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Invoker<T>> |
TagRouter.route(List<Invoker<T>> invokers,
URL url,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
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 |
ZoneAwareClusterInvoker.doInvoke(Invocation invocation,
List<Invoker<T>> invokers,
LoadBalance loadbalance) |
| 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.
|
void |
TimeoutFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericImplFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ExecuteLimitFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ExceptionFilter.onError(Throwable e,
Invoker<?> invoker,
Invocation invocation) |
void |
ContextFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
CompatibleFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ActiveLimitFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
TimeoutFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericImplFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation inv) |
void |
ExecuteLimitFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ExceptionFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ContextFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
CompatibleFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ActiveLimitFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TPSLimiter.isAllowable(URL url,
Invocation invocation)
judge if the current invocation is allowed by TPS rule
|
boolean |
DefaultTPSLimiter.isAllowable(URL url,
Invocation invocation) |
| 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 |
DecodeableRpcInvocation |
| Constructor and Description |
|---|
DecodeableRpcResult(Channel channel,
Response response,
InputStream is,
Invocation invocation,
byte id) |
| Modifier and Type | Method and Description |
|---|---|
Result |
TraceFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
FutureFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
void |
FutureFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
FutureFilter.onResponse(Result result,
Invoker<?> invoker,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
AbstractProxyInvoker.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RpcUtils.attachInvocationIdIfAsync(URL url,
Invocation inv)
Idempotent operation: invocation id will be added in async operation by default
|
static Object[] |
RpcUtils.getArguments(Invocation invocation) |
static Long |
RpcUtils.getInvocationId(Invocation inv) |
static InvokeMode |
RpcUtils.getInvokeMode(URL url,
Invocation inv) |
static String |
RpcUtils.getMethodName(Invocation invocation) |
static Class<?>[] |
RpcUtils.getParameterTypes(Invocation invocation) |
static Class<?> |
RpcUtils.getReturnType(Invocation invocation) |
static Type[] |
RpcUtils.getReturnTypes(Invocation invocation) |
static long |
RpcUtils.getTimeout(Invocation invocation,
long defaultTimeout) |
Result |
MockInvoker.invoke(Invocation invocation) |
static boolean |
RpcUtils.isAsync(URL url,
Invocation inv) |
static boolean |
RpcUtils.isGenericAsync(Invocation inv) |
static boolean |
RpcUtils.isOneway(URL url,
Invocation inv) |
static boolean |
RpcUtils.isReturnTypeFuture(Invocation inv) |
| 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–2020 The Apache Software Foundation. All rights reserved.