| Package | Description |
|---|---|
| org.apache.dubbo.registry | |
| org.apache.dubbo.registry.client |
* The inspiration of service registration and discovery comes from
Spring Cloud Commons.
|
| org.apache.dubbo.registry.client.migration | |
| org.apache.dubbo.registry.integration | |
| org.apache.dubbo.registry.support |
| Modifier and Type | Class and Description |
|---|---|
class |
ListenerRegistryWrapper |
| Modifier and Type | Method and Description |
|---|---|
Registry |
ListenerRegistryWrapper.getRegistry() |
Registry |
RegistryFactoryWrapper.getRegistry(URL url) |
Registry |
RegistryFactory.getRegistry(URL url)
Connect to the registry
|
| Modifier and Type | Method and Description |
|---|---|
default void |
RegistryServiceListener.onRegister(URL url,
Registry registry) |
default void |
RegistryServiceListener.onSubscribe(URL url,
Registry registry) |
default void |
RegistryServiceListener.onUnregister(URL url,
Registry registry) |
default void |
RegistryServiceListener.onUnsubscribe(URL url,
Registry registry) |
| Constructor and Description |
|---|
ListenerRegistryWrapper(Registry registry,
List<RegistryServiceListener> listeners) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceDiscoveryRegistry
TODO, this bridge implementation is not necessary now, protocol can interact with service discovery directly.
|
| Constructor and Description |
|---|
MigrationInvoker(ClusterInvoker<T> invoker,
ClusterInvoker<T> serviceDiscoveryInvoker,
RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
MigrationInvoker(RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
ServiceDiscoveryMigrationInvoker(RegistryProtocol registryProtocol,
Cluster cluster,
Registry registry,
Class<T> type,
URL url,
URL consumerUrl) |
| Modifier and Type | Method and Description |
|---|---|
Registry |
DynamicDirectory.getRegistry() |
| Modifier and Type | Method and Description |
|---|---|
<T> ClusterInvoker<T> |
RegistryProtocol.getInvoker(Cluster cluster,
Registry registry,
Class<T> type,
URL url) |
<T> ClusterInvoker<T> |
InterfaceCompatibleRegistryProtocol.getInvoker(Cluster cluster,
Registry registry,
Class<T> type,
URL url) |
<T> ClusterInvoker<T> |
RegistryProtocol.getServiceDiscoveryInvoker(Cluster cluster,
Registry registry,
Class<T> type,
URL url) |
<T> ClusterInvoker<T> |
InterfaceCompatibleRegistryProtocol.getServiceDiscoveryInvoker(Cluster cluster,
Registry registry,
Class<T> type,
URL url) |
void |
DynamicDirectory.setRegistry(Registry registry) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRegistry
AbstractRegistry.
|
class |
CacheableFailbackRegistry
Useful for registries who's sdk returns raw string as provider instance, for example, zookeeper and etcd.
|
class |
FailbackRegistry
FailbackRegistry.
|
| Modifier and Type | Method and Description |
|---|---|
Registry |
RegistryManager.getRegistry(String key) |
Registry |
AbstractRegistryFactory.getRegistry(URL url) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Registry> |
RegistryManager.getRegistries()
Get all registries
|
| Modifier and Type | Method and Description |
|---|---|
void |
RegistryManager.putRegistry(String key,
Registry registry) |
void |
RegistryManager.removeDestroyedRegistry(Registry toRm) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.