程序包 org.apache.dubbo.rpc
-
接口概要 接口 说明 AsyncContext AsyncContext works like {@see javax.servlet.AsyncContext} in the Servlet 3.0.BaseFilter BaseFilter.Listener 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.Invocation Invocation.Invoker<T> Invoker.InvokerListener InvokerListener.PenetrateAttachmentSelector Protocol Protocol.ProtocolServer Distinct fromRemotingServer
, 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 RPCResult
.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 withAppResponse
: AsyncRpcResult is the object that is actually passed in the call chain AppResponse only simply represents the business resultAsyncContextImpl 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 fromto AttachmentsAdapter.ObjectToStringMap FutureContext Used for async call scenario.ListenableFilter It's recommended to implement Filter.Listener directly for callback registration, check the default implementation, seeExceptionFilter
, for example.RpcConstants 已过时。 Replace to org.apache.dubbo.common.ConstantsRpcContext Thread local context.RpcContextAttachment RpcInvocation RPC Invocation.RpcServiceContext RpcStatus URL statistics.TimeoutCountDown -
枚举概要 枚举 说明 InvokeMode -
异常错误概要 异常错误 说明 RpcException RPC Exception.