序列化表格
-
程序包 com.alibaba.dubbo.rpc.service
-
类com.alibaba.dubbo.rpc.service.GenericException扩展RuntimeException实现可序列化
- serialVersionUID:
- -1182299763306599962L
-
-
程序包 org.apache.dubbo.rpc
-
类org.apache.dubbo.rpc.AppResponse扩展Object实现可序列化
- serialVersionUID:
- -6925924956850004727L
-
类org.apache.dubbo.rpc.AsyncRpcResult扩展Object实现可序列化
-
序列化字段
-
afterContext
BiConsumer<Result,Throwable> afterContext
-
beforeContext
BiConsumer<Result,Throwable> beforeContext
-
executor
Executor executor
-
invocation
Invocation invocation
-
responseFuture
CompletableFuture<AppResponse> responseFuture
-
storedContext
RpcContext storedContext
RpcContext may already have been changed when callback happens, it happens when the same thread is used to execute another RPC call. So we should keep the reference of current RpcContext instance and restore it before callback being executed. -
storedServerContext
RpcContext storedServerContext
-
tmpContext
RpcContext tmpContext
tmp context to use when the thread switch to Dubbo thread. -
tmpServerContext
RpcContext tmpServerContext
-
-
-
类org.apache.dubbo.rpc.AttachmentsAdapter.ObjectToStringMap扩展HashMap<String,String>实现可序列化
-
类org.apache.dubbo.rpc.RpcException扩展RuntimeException实现可序列化
- serialVersionUID:
- 7815426752583648734L
-
序列化字段
-
code
int code
RpcException cannot be extended, use error code for exception type to keep compatibility
-
-
类org.apache.dubbo.rpc.RpcInvocation扩展Object实现可序列化
- serialVersionUID:
- -4355285085441097045L
-
序列化字段
-
arguments
Object[] arguments
-
attachments
Map<String,Object> attachments
Passed to the remote server during RPC call -
attributes
Map<Object,Object> attributes
Only used on the caller side, will not appear on the wire. -
compatibleParamSignatures
String[] compatibleParamSignatures
-
methodName
String methodName
-
parameterTypesDesc
String parameterTypesDesc
-
protocolServiceKey
String protocolServiceKey
-
serviceName
String serviceName
-
targetServiceUniqueName
String targetServiceUniqueName
-
-