| 接口 | 说明 |
|---|---|
| AsyncContext |
AsyncContext works like
javax.servlet.AsyncContext in the Servlet 3.0. |
| 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.
|
| Filter.Listener | |
| Invocation |
Invocation.
|
| Invoker<T> |
Invoker.
|
| InvokerListener |
InvokerListener.
|
| Protocol |
Protocol.
|
| 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. |
| ZoneDetector |
Extend and provide your own implementation if you want to distribute traffic around registries.
|
| 类 | 说明 |
|---|---|
| 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 | 已过时 |
| AttachmentsAdapter.ObjectToStringMap | 已过时 |
| FutureContext |
Used for async call scenario.
|
| ListenableFilter |
It's recommended to implement Filter.Listener directly for callback registration, check the default implementation,
see
ExceptionFilter, for example. |
| RpcConstants | 已过时
Replace to org.apache.dubbo.common.Constants
|
| RpcContext |
Thread local context.
|
| RpcInvocation |
RPC Invocation.
|
| RpcStatus |
URL statistics.
|
| TimeoutCountDown |
| 枚举 | 说明 |
|---|---|
| InvokeMode |
| 异常错误 | 说明 |
|---|---|
| RpcException |
RPC Exception.
|
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.