| 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 |
|---|---|
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) |
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.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
default Result |
Filter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation)
Deprecated.
|
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 |
|---|---|
Result |
AccessLogFilter.invoke(Invoker<?> invoker,
Invocation inv)
This method logs the access log for service method invocation call.
|
Result |
CompatibleFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ClassLoaderFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ExecuteLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
TpsLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ActiveLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ExceptionFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
GenericImplFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
EchoFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
TokenFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
ContextFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
DeprecatedFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
TimeoutFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ConsumerContextFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
GenericFilter.invoke(Invoker<?> invoker,
Invocation inv) |
void |
CompatibleFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ExecuteLimitFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ActiveLimitFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ExceptionFilter.onError(Throwable e,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericImplFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ContextFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
TimeoutFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
CompatibleFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ExecuteLimitFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ActiveLimitFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ExceptionFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericImplFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ContextFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
TimeoutFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericFilter.onMessage(Result appResponse,
Invoker<?> invoker,
Invocation inv) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultTPSLimiter.isAllowable(URL url,
Invocation invocation) |
boolean |
TPSLimiter.isAllowable(URL url,
Invocation invocation)
judge if the current invocation is allowed by TPS rule
|
| Modifier and Type | Method and Description |
|---|---|
Result |
ListenerInvokerWrapper.invoke(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Result |
AbstractInvoker.invoke(Invocation inv) |
Result |
AsyncToSyncInvoker.invoke(Invocation invocation) |
Result |
InvokerWrapper.invoke(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) |
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) |
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.