序列化表格
-
程序包 org.apache.dubbo.common
-
类org.apache.dubbo.common.URL扩展Object实现可序列化
- serialVersionUID:
- -1985165475234910535L
-
-
程序包 org.apache.dubbo.common.beanutil
-
程序包 org.apache.dubbo.common.bytecode
-
类org.apache.dubbo.common.bytecode.NoSuchMethodException扩展RuntimeException实现可序列化
- serialVersionUID:
- -2725364246023268766L
-
类org.apache.dubbo.common.bytecode.NoSuchPropertyException扩展RuntimeException实现可序列化
- serialVersionUID:
- -2725364246023268766L
-
-
程序包 org.apache.dubbo.common.config.configcenter
-
类org.apache.dubbo.common.config.configcenter.ConfigChangedEvent扩展EventObject实现可序列化
-
序列化字段
-
changeType
ConfigChangeType changeType
-
content
String content
-
group
String group
-
key
String key
-
-
-
-
程序包 org.apache.dubbo.common.json
-
类org.apache.dubbo.common.json.ParseException扩展Exception实现可序列化
- serialVersionUID:
- 8611884051738966316L
-
-
程序包 org.apache.dubbo.common.logger.jcl
-
类org.apache.dubbo.common.logger.jcl.JclLogger扩展Object实现可序列化
- serialVersionUID:
- 1L
-
序列化字段
-
logger
org.apache.commons.logging.Log logger
-
-
-
程序包 org.apache.dubbo.common.logger.slf4j
-
类org.apache.dubbo.common.logger.slf4j.Slf4jLogger扩展Object实现可序列化
- serialVersionUID:
- 1L
-
序列化字段
-
locationAwareLogger
org.slf4j.spi.LocationAwareLogger locationAwareLogger
-
logger
org.slf4j.Logger logger
-
-
-
程序包 org.apache.dubbo.common.threadpool.event
-
类org.apache.dubbo.common.threadpool.event.ThreadPoolExhaustedEvent扩展Event实现可序列化
-
序列化字段
-
msg
String msg
-
-
-
-
程序包 org.apache.dubbo.common.threadpool.support.eager
-
类org.apache.dubbo.common.threadpool.support.eager.TaskQueue扩展LinkedBlockingQueue<Runnable>实现可序列化
- serialVersionUID:
- -2635853580887179627L
-
序列化字段
-
executor
EagerThreadPoolExecutor executor
-
-
-
程序包 org.apache.dubbo.common.utils
-
类org.apache.dubbo.common.utils.AtomicPositiveInteger扩展Number实现可序列化
- serialVersionUID:
- -3038533876489105940L
-
序列化字段
-
index
int index
-
-
类org.apache.dubbo.common.utils.ConcurrentHashSet扩展AbstractSet<E>实现可序列化
- serialVersionUID:
- -8672117787651310382L
-
序列化字段
-
map
ConcurrentMap<E,Object> map
-
-
类org.apache.dubbo.common.utils.DefaultPage扩展Object实现可序列化
- serialVersionUID:
- 1099331838954070419L
-
类org.apache.dubbo.common.utils.Log扩展Object实现可序列化
- serialVersionUID:
- -534113138054377073L
-
类org.apache.dubbo.common.utils.LRUCache扩展LinkedHashMap<K,V>实现可序列化
- serialVersionUID:
- -5167631809472116969L
-
序列化字段
-
lock
Lock lock
-
maxCapacity
int maxCapacity
-
-
-
程序包 org.apache.dubbo.config
-
类org.apache.dubbo.config.AbstractConfig扩展Object实现可序列化
- serialVersionUID:
- 4267533505537413570L
-
序列化字段
-
id
String id
The config id -
isDefault
Boolean isDefault
Is default or not -
prefix
String prefix
-
refreshed
AtomicBoolean refreshed
-
-
类org.apache.dubbo.config.AbstractInterfaceConfig扩展AbstractMethodConfig实现可序列化
- serialVersionUID:
- -1559314110797223229L
-
序列化字段
-
application
ApplicationConfig application
The application info -
auth
Boolean auth
-
callbacks
Integer callbacks
-
cluster
String cluster
Cluster type -
configCenter
ConfigCenterConfig configCenter
-
connections
Integer connections
Connection limits, 0 means shared connection, otherwise it defines the connections delegated to the current service -
filter
String filter
TheFilterwhen the provider side exposed a service or the customer side references a remote service used, if there are more than one, you can use commas to separate them -
group
String group
The remote service group the customer/provider side will reference -
interfaceName
String interfaceName
The interface name of the exported service -
layer
String layer
The layer of service providers -
listener
String listener
The Listener when the provider side exposes a service or the customer side references a remote service used if there are more than one, you can use commas to separate them -
local
String local
Local impl class name for the service interface -
metadataReportConfig
MetadataReportConfig metadataReportConfig
-
methods
List<MethodConfig> methods
The method configuration -
metrics
MetricsConfig metrics
The metrics configuration -
module
ModuleConfig module
The module info -
monitor
MonitorConfig monitor
Service monitor -
onconnect
String onconnect
-
ondisconnect
String ondisconnect
Disconnection events -
owner
String owner
The owner of the service providers -
proxy
String proxy
Strategies for generating dynamic agents,there are two strategies can be choosed: jdk and javassist -
registries
List<RegistryConfig> registries
The registry list the service will register to Also seeAbstractInterfaceConfig.registryIds, only one of them will work. -
registryIds
String registryIds
The id list of registries the service will register to Also seeAbstractInterfaceConfig.registries, only one of them will work. -
scope
String scope
-
serviceMetadata
ServiceMetadata serviceMetadata
-
stub
String stub
Local stub class name for the service interface -
tag
String tag
-
urls
List<URL> urls
The url of the reference service -
version
String version
The remote service version the customer/provider side will reference
-
-
类org.apache.dubbo.config.AbstractMethodConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- 1L
-
序列化字段
-
actives
Integer actives
max concurrent invocations -
async
Boolean async
Whether to async note that: it is an unreliable asynchronism that ignores return values and does not block threads. -
cache
String cache
Cache the return result with the call parameter as key, the following options are available: lru, threadlocal, jcache, etc. -
forks
Integer forks
Forks for forking cluster -
loadbalance
String loadbalance
The load balance -
merger
String merger
Merger -
mock
String mock
The name of mock class which gets called when a service fails to executenote that: the mock doesn't support on the provider side,and the mock is executed when a non-business exception occurs after a remote service call
-
parameters
Map<String,String> parameters
The customized parameters -
retries
Integer retries
The retry times -
sent
Boolean sent
Whether to ack async-sent -
timeout
Integer timeout
The timeout for remote invocation in milliseconds -
validation
String validation
Whether JSR303 standard annotation validation is enabled or not, if enabled, annotations on method parameters will be validated
-
-
类org.apache.dubbo.config.AbstractReferenceConfig扩展AbstractInterfaceConfig实现可序列化
- serialVersionUID:
- -2786526984373031126L
-
序列化字段
-
check
Boolean check
Check if service provider exists, if not exists, it will be fast fail -
generic
String generic
Whether to use generic interface -
init
Boolean init
Whether to eagle-init -
injvm
Boolean injvm
Whether to find reference's instance from the current JVM -
lazy
Boolean lazy
Lazy create connection -
providedBy
String providedBy
declares which app or service this interface belongs to -
reconnect
String reconnect
-
router
String router
-
sticky
Boolean sticky
-
stubevent
Boolean stubevent
Whether to support event in stub.
-
-
类org.apache.dubbo.config.AbstractServiceConfig扩展AbstractInterfaceConfig实现可序列化
- serialVersionUID:
- 1L
-
序列化字段
-
accesslog
String accesslog
Whether to export access logs to logs -
delay
Integer delay
The time delay register service (milliseconds) -
deprecated
Boolean deprecated
whether the service is deprecated -
document
String document
Document center -
dynamic
Boolean dynamic
Whether to register as a dynamic service or not on register center, the value is true, the status will be enabled after the service registered,and it needs to be disabled manually; if you want to disable the service, you also need manual processing -
executes
Integer executes
-
export
Boolean export
Whether to export the service -
group
String group
The service group -
protocolIds
String protocolIds
The id list of protocols the service will export with Also seeAbstractServiceConfig.protocols, only one of them will work. -
protocols
List<ProtocolConfig> protocols
The protocol list the service will export with Also seeAbstractServiceConfig.protocolIds, only one of them will work. -
register
Boolean register
Whether to register -
serialization
String serialization
The serialization type -
token
String token
Whether to use token -
version
String version
The service version -
warmup
Integer warmup
Warm up period -
weight
Integer weight
The service weight
-
-
类org.apache.dubbo.config.ApplicationConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- 5508512956753757169L
-
序列化字段
-
architecture
String architecture
Architecture layer -
compiler
String compiler
Java compiler -
dumpDirectory
String dumpDirectory
Directory for saving thread dump -
environment
String environment
Environment, e.g. dev, test or production -
hostname
String hostname
-
logger
String logger
The type of the log access -
metadataServicePort
Integer metadataServicePort
Metadata Service, used in Service Discovery -
metadataType
String metadataType
Metadata type, local or remote, if choose remote, you need to further specify metadata center. -
monitor
MonitorConfig monitor
Monitor center -
name
String name
Application name -
organization
String organization
Application's organization (BU) -
owner
String owner
Application owner -
parameters
Map<String,String> parameters
Customized parameters -
publishInterface
Boolean publishInterface
-
qosAcceptForeignIp
Boolean qosAcceptForeignIp
Should we accept foreign ip or not? -
qosEnable
Boolean qosEnable
Whether to enable qos or not -
qosHost
String qosHost
The qos host to listen -
qosPort
Integer qosPort
The qos port to listen -
registerConsumer
Boolean registerConsumer
-
registries
List<RegistryConfig> registries
Registry centers -
registryIds
String registryIds
-
repository
String repository
-
shutwait
String shutwait
Config the shutdown.wait -
version
String version
The application version
-
-
类org.apache.dubbo.config.ArgumentConfig扩展Object实现可序列化
- serialVersionUID:
- -2165482463925213595L
-
类org.apache.dubbo.config.ConfigCenterConfig扩展AbstractConfig实现可序列化
-
序列化字段
-
address
String address
-
appConfigFile
String appConfigFile
-
appExternalConfiguration
Map<String,String> appExternalConfiguration
-
check
Boolean check
-
cluster
String cluster
-
configFile
String configFile
-
externalConfiguration
Map<String,String> externalConfiguration
-
group
String group
-
highestPriority
Boolean highestPriority
-
inited
AtomicBoolean inited
-
namespace
String namespace
-
parameters
Map<String,String> parameters
-
password
String password
-
port
Integer port
-
protocol
String protocol
-
timeout
Long timeout
-
username
String username
-
-
-
类org.apache.dubbo.config.ConsumerConfig扩展AbstractReferenceConfig实现可序列化
- serialVersionUID:
- 2827274711143680600L
-
序列化字段
-
client
String client
Networking framework client uses: netty, mina, etc. -
corethreads
Integer corethreads
Consumer threadpool core thread size -
queues
Integer queues
Consumer threadpool queue size -
shareconnections
Integer shareconnections
By default, a TCP long-connection communication is shared between the consumer process and the provider process. This property can be set to share multiple TCP long-connection communications. Note that only the dubbo protocol takes effect. -
threadpool
String threadpool
Consumer thread pool type: cached, fixed, limit, eager -
threads
Integer threads
Consumer threadpool thread size
-
-
类org.apache.dubbo.config.MetadataReportConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- 55233L
-
序列化字段
-
address
String address
-
cluster
Boolean cluster
cluster -
cycleReport
Boolean cycleReport
By default the metadatastore will store full metadata repeatedly every day . -
group
String group
The group the metadata in . It is the same as registry -
parameters
Map<String,String> parameters
-
password
String password
-
registry
String registry
registry id -
retryPeriod
Integer retryPeriod
-
retryTimes
Integer retryTimes
-
syncReport
Boolean syncReport
Sync report, default async -
timeout
Integer timeout
-
username
String username
-
-
类org.apache.dubbo.config.MethodConfig扩展AbstractMethodConfig实现可序列化
- serialVersionUID:
- 884908855422675941L
-
序列化字段
-
arguments
List<ArgumentConfig> arguments
The method arguments -
deprecated
Boolean deprecated
If it's deprecated -
executes
Integer executes
Thread limits for method invocations -
isReturn
Boolean isReturn
Whether need to return -
name
String name
The method name -
oninvoke
Object oninvoke
Callback instance when async-call is invoked -
oninvokeMethod
String oninvokeMethod
Callback method when async-call is invoked -
onreturn
Object onreturn
Callback instance when async-call is returned -
onreturnMethod
String onreturnMethod
Callback method when async-call is returned -
onthrow
Object onthrow
Callback instance when async-call has exception thrown -
onthrowMethod
String onthrowMethod
Callback method when async-call has exception thrown -
reliable
Boolean reliable
If it's reliable -
retry
Boolean retry
Whether to retry -
service
String service
These properties come from MethodConfig's parent Config module, they will neither be collected directly from xml or API nor be delivered to url -
serviceId
String serviceId
-
stat
Integer stat
Stat -
sticky
Boolean sticky
Whether to enable sticky
-
-
类org.apache.dubbo.config.MetricsConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- -9089919311611546383L
-
类org.apache.dubbo.config.ModuleConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- 5508512956753757169L
-
序列化字段
-
monitor
MonitorConfig monitor
Monitor center -
name
String name
Module name -
organization
String organization
Module's organization -
owner
String owner
Module owner -
registries
List<RegistryConfig> registries
Registry centers -
version
String version
Module version
-
-
类org.apache.dubbo.config.MonitorConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- -1184681514659198203L
-
序列化字段
-
address
String address
The monitor address -
group
String group
-
interval
String interval
-
parameters
Map<String,String> parameters
customized parameters -
password
String password
The password -
protocol
String protocol
The protocol of the monitor, if the value is registry, it will search the monitor address from the registry center, otherwise, it will directly connect to the monitor center -
username
String username
The monitor user name -
version
String version
-
-
类org.apache.dubbo.config.ProtocolConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- 6913423882496634749L
-
序列化字段
-
accepts
Integer accepts
Max acceptable connections -
accesslog
String accesslog
Access log -
alive
Integer alive
Thread pool keepAliveTime, default unit TimeUnit.MILLISECONDS -
buffer
Integer buffer
Buffer size -
charset
String charset
Charset -
client
String client
Client impl -
codec
String codec
Protocol codec -
contextpath
String contextpath
Context path -
corethreads
Integer corethreads
Thread pool core thread size -
dispatcher
String dispatcher
Thread dispatch mode -
exchanger
String exchanger
How information is exchanged -
extension
String extension
The extension -
heartbeat
Integer heartbeat
Heartbeat interval -
host
String host
Service ip address (when there are multiple network cards available) -
iothreads
Integer iothreads
IO thread pool size (fixed size) -
keepAlive
Boolean keepAlive
whether it is a persistent connection -
name
String name
Protocol name -
networker
String networker
Networker -
optimizer
String optimizer
-
parameters
Map<String,String> parameters
The customized parameters -
payload
Integer payload
Payload max length -
port
Integer port
Service port -
prompt
String prompt
Command line prompt -
queues
Integer queues
Thread pool's queue length -
register
Boolean register
Whether to register -
serialization
String serialization
Serialization -
server
String server
Sever impl -
sslEnabled
Boolean sslEnabled
-
status
String status
Status check -
telnet
String telnet
Supported telnet commands, separated with comma. -
threadname
String threadname
Thread pool name -
threadpool
String threadpool
Thread pool -
threads
Integer threads
Thread pool size (fixed size) -
transporter
String transporter
Transporter
-
-
类org.apache.dubbo.config.ProviderConfig扩展AbstractServiceConfig实现可序列化
- serialVersionUID:
- 6913423882496634749L
-
序列化字段
-
accepts
Integer accepts
Max acceptable connections -
alive
Integer alive
Thread pool keepAliveTime, default unit TimeUnit.MILLISECONDS -
buffer
Integer buffer
The network io buffer size -
charset
String charset
The serialization charset -
client
String client
The client-side implementation model of the protocol -
codec
String codec
Protocol codec -
contextpath
String contextpath
Context path -
dispatcher
String dispatcher
Thread dispatching mode -
exchanger
String exchanger
How information gets exchanged -
host
String host
Service ip addresses (used when there are multiple network cards available) -
iothreads
Integer iothreads
IO thread pool size (fixed size) -
networker
String networker
Networker -
payload
Integer payload
Payload max length -
port
Integer port
Service port -
prompt
String prompt
Command line prompt -
queues
Integer queues
Thread pool queue length -
server
String server
The server-side implementation model of the protocol -
status
String status
Status check -
telnet
String telnet
Supported telnet commands, separated with comma. -
threadname
String threadname
Thread pool name -
threadpool
String threadpool
Thread pool -
threads
Integer threads
Thread pool size (fixed size) -
transporter
String transporter
Transporter -
wait
Integer wait
Wait time when stop
-
-
类org.apache.dubbo.config.ReferenceConfigBase扩展AbstractReferenceConfig实现可序列化
- serialVersionUID:
- -5864351140409987595L
-
序列化字段
-
client
String client
client type -
consumer
ConsumerConfig consumer
The consumer config (default) -
interfaceClass
Class<?> interfaceClass
The interface class of the reference service -
protocol
String protocol
Only the service provider of the specified protocol is invoked, and other protocols are ignored. -
url
String url
The url for peer-to-peer invocation
-
-
类org.apache.dubbo.config.RegistryConfig扩展AbstractConfig实现可序列化
- serialVersionUID:
- 5508512956753757169L
-
序列化字段
-
accepts
String accepts
list of rpc protocols accepted by this registry, for example, "dubbo,rest" -
address
String address
Register center address -
check
Boolean check
Whether to check if register center is available when boot up -
client
String client
-
cluster
String cluster
Affects how traffic distributes among registries, useful when subscribing multiple registries, available options: 1. zone-aware, a certain type of traffic always goes to one Registry according to where the traffic is originated. -
dynamic
Boolean dynamic
Whether to allow dynamic service to register on the register center -
extraKeys
String extraKeys
After simplify the registry, should add some parameter individually. just for provider.such as: extra-keys = A,b,c,d
- 从以下版本开始:
- 2.7.0
-
file
String file
File for saving register center dynamic list -
group
String group
The group the services registry in -
parameters
Map<String,String> parameters
The customized parameters -
password
String password
Password to login register center -
port
Integer port
Default port for register center -
preferred
Boolean preferred
Always use this registry first if set to true, useful when subscribe to multiple registries -
protocol
String protocol
Protocol for register center -
register
Boolean register
Whether to export service on the register center -
server
String server
-
session
Integer session
Session timeout in milliseconds for register center -
simplified
Boolean simplified
Simple the registry. both useful for provider and consumer- 从以下版本开始:
- 2.7.0
-
subscribe
Boolean subscribe
Whether allow to subscribe service on the register center -
timeout
Integer timeout
Request timeout in milliseconds for register center -
transporter
String transporter
Network transmission type -
useAsConfigCenter
Boolean useAsConfigCenter
the address work as config center or not -
useAsMetadataCenter
Boolean useAsMetadataCenter
the address work as remote metadata center or not -
username
String username
Username to login register center -
version
String version
-
wait
Integer wait
Wait time before stop -
weight
Integer weight
Affects traffic distribution among registries, useful when subscribe to multiple registries Take effect only when no preferred registry is specified. -
zone
String zone
The region where the registry belongs, usually used to isolate traffics
-
-
类org.apache.dubbo.config.ServiceConfigBase扩展AbstractServiceConfig实现可序列化
- serialVersionUID:
- 3033787999037024738L
-
序列化字段
-
generic
String generic
whether it is a GenericService -
interfaceClass
Class<?> interfaceClass
The interface class of the exported service -
path
String path
The service name -
provider
ProviderConfig provider
The provider configuration -
providerIds
String providerIds
The providerIds -
ref
T ref
The reference of the interface implementation
-
-
类org.apache.dubbo.config.SslConfig扩展AbstractConfig实现可序列化
-
序列化字段
-
clientKeyCertChainPath
String clientKeyCertChainPath
-
clientKeyCertChainPathStream
InputStream clientKeyCertChainPathStream
-
clientKeyPassword
String clientKeyPassword
-
clientPrivateKeyPath
String clientPrivateKeyPath
-
clientPrivateKeyPathStream
InputStream clientPrivateKeyPathStream
-
clientTrustCertCollectionPath
String clientTrustCertCollectionPath
-
clientTrustCertCollectionPathStream
InputStream clientTrustCertCollectionPathStream
-
inited
AtomicBoolean inited
-
serverKeyCertChainPath
String serverKeyCertChainPath
-
serverKeyCertChainPathStream
InputStream serverKeyCertChainPathStream
-
serverKeyPassword
String serverKeyPassword
-
serverPrivateKeyPath
String serverPrivateKeyPath
-
serverPrivateKeyPathStream
InputStream serverPrivateKeyPathStream
-
serverTrustCertCollectionPath
String serverTrustCertCollectionPath
-
serverTrustCertCollectionPathStream
InputStream serverTrustCertCollectionPathStream
-
-
-
-
程序包 org.apache.dubbo.event
-
类org.apache.dubbo.event.Event扩展EventObject实现可序列化
- serialVersionUID:
- -1704315605423947137L
-
序列化字段
-
timestamp
long timestamp
The timestamp of event occurs
-
-
类org.apache.dubbo.event.GenericEvent扩展Event实现可序列化
-
-
程序包 org.apache.dubbo.rpc.service
-
类org.apache.dubbo.rpc.service.GenericException扩展RuntimeException实现可序列化
- serialVersionUID:
- -1182299763306599962L
-