All Classes and Interfaces
Class
Description
AbstractConfiguratorListener
Provides a fail-safe registry service backed by cache file.
AbstractRegistryFactory.
AbstractRetryTask
Each service discovery is bond to one application.
Abstract
ServiceDiscoveryFactory implementation with cache, the subclass
should implement AbstractServiceDiscoveryFactory.createDiscovery(URL) method to create an instance of ServiceDiscovery
Based on FailbackRegistry, it adds a URLAddress and URLParam cache to save RAM space.
This class is designed for compatibility purpose.
The default implementation of
ServiceInstance.DynamicDirectory
A template implementation of registry service that provides auto-retry ability.
FailedRegisteredTask
FailedSubscribedTask
FailedUnregisteredTask
FailedUnsubscribedTask
RegistryProtocol
Metadata cache with limited size that uses LRU expiry policy.
Implementation providing remote RPC service to facilitate the query of metadata information.
Used to build metadata service url from ServiceInstance.
FIXME, some methods need to be further optimized.
# key = demo-consumer.migration
# group = DUBBO_SERVICEDISCOVERY_MIGRATION
# content
key: demo-consumer
step: APPLICATION_FIRST
threshold: 1.0
proportion: 60
delay: 60
force: false
interfaces:
- serviceKey: DemoService:1.0.0
threshold: 0.5
proportion: 30
delay: 30
force: true
step: APPLICATION_FIRST
- serviceKey: GreetingService:1.0.0
step: FORCE_APPLICATION
applications:
- serviceKey: TestApplication
threshold: 0.3
proportion: 20
delay: 10
force: false
step: FORCE_INTERFACE
Listens to from Config Center.
NotifyListener.
A Class to customize the ports of
protocols into
the metadata of service instanceReExportTask
Registry.
RegistryDirectory
RegistryFactory.
Application Level, used to collect Registries
TODO, replace RegistryProtocol completely in the future.
RegistryProtocol listener is introduced to provide a chance to user to customize or change export and refer behavior
of RegistryProtocol.
RegistryService.
RegistryStatusChecker
A retry task when is failed.
Defines the common operations of Service Discovery, extended and loaded by ServiceDiscoveryFactory
The factory to create
ServiceDiscoveryTODO, this bridge implementation is not necessary now, protocol can interact with service discovery directly.
The model class of an instance of a service, which is used for service registration and discovery.
The interface to customize
the service instanceThe
ServiceInstanceCustomizer to customize the port of service instance.Intercepting instance to load instance-level params from different sources before being registered into registry.
The Utilities class for the
metadata of the service instanceAn event raised after the
instances of one service has been changed.TODO, refactor to move revision-metadata mapping to ServiceDiscovery.
Customize parameters for interface-level registration
Wrapper Exception, it is used to indicate that
FailbackRegistry skips Failback.Supporting interaction with Dubbo Spring Cloud at https://github.com/alibaba/spring-cloud-alibaba
Dubbo Spring Cloud is a Dubbo extension that favours a per instance registry model and exposes metadata service.
Standard Dubbo provider enabling introspection service discovery mode.