| 接口 | 说明 |
|---|---|
| AsyncContext |
AsyncContext works like
javax.servlet.AsyncContext in the Servlet 3.0. |
| BaseFilter | |
| BaseFilter.Listener |
This callback listener applies to both synchronous and asynchronous calls, please put logics that need to be executed
on return of rpc result in onResponse or onError respectively based on it is normal return or exception return.
|
| CancellationListener |
A listener notified on context cancellation.
|
| Constants | |
| Exporter<T> |
Exporter.
|
| ExporterListener |
ExporterListener.
|
| Filter |
Extension for intercepting the invocation for both service provider and consumer, furthermore, most of
functions in dubbo are implemented base on the same mechanism.
|
| HeaderFilter | |
| Invocation |
Invocation.
|
| Invoker<T> |
Invoker.
|
| InvokerListener |
InvokerListener.
|
| PathResolver |
PathResolver maintains a mapping between request path and Invoker for multiple protocols.
|
| PenetrateAttachmentSelector | |
| Protocol |
RPC Protocol extension interface, which encapsulates the details of remote invocation.
|
| ProtocolServer |
Distinct from
RemotingServer, each protocol holds one or more ProtocolServers(the number usually decides by port numbers),
while each ProtocolServer holds zero or one RemotingServer. |
| ProxyFactory |
ProxyFactory.
|
| Result |
(API, Prototype, NonThreadSafe)
An RPC
Result. |
| ServerService<T> | |
| ZoneDetector |
Extend and provide your own implementation if you want to distribute traffic around registries.
|
| 类 | 说明 |
|---|---|
| AdaptiveMetrics |
adaptive Metrics statistics.
|
| 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 |
| AsyncContextImpl | |
| 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.
|
| AttachmentsAdapter |
This class provides map adapters to support attachments in RpcContext, Invocation and Result switch from
|
| AttachmentsAdapter.ObjectToStringMap | |
| CancellationContext | |
| ExecutableListener | |
| FutureContext |
Used for async call scenario.
|
| InvocationProfilerUtils | |
| ListenableFilter | 已过时 |
| RpcConstants | 已过时
Replace to org.apache.dubbo.common.Constants
|
| RpcContext |
Thread local context.
|
| RpcContext.RestoreContext |
Used to temporarily store and restore all kinds of contexts of current thread.
|
| RpcContext.RestoreServiceContext | |
| RpcContextAttachment | |
| RpcInvocation |
RPC Invocation.
|
| RpcScopeModelInitializer | |
| RpcServerContextAttachment | |
| RpcServiceContext | |
| RpcStatus |
URL statistics.
|
| TimeoutCountDown |
| 枚举 | 说明 |
|---|---|
| InvokeMode |
| 异常错误 | 说明 |
|---|---|
| RpcException |
RPC Exception.
|
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.