| Package | Description |
|---|---|
| org.apache.dubbo.registry.client |
* The inspiration of service registration and discovery comes from
Spring Cloud Commons.
|
| org.apache.dubbo.registry.client.event | |
| org.apache.dubbo.registry.client.event.listener | |
| org.apache.dubbo.registry.client.metadata |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultServiceInstance
The default implementation of
ServiceInstance. |
| Modifier and Type | Method and Description |
|---|---|
ServiceInstance |
OverrideInstanceAddressURL.getInstance() |
ServiceInstance |
InstanceAddressURL.getInstance() |
ServiceInstance |
ServiceDiscovery.getLocalInstance() |
ServiceInstance |
AbstractServiceDiscovery.getLocalInstance() |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentHashMap<String,List<ServiceInstance>> |
ReflectionBasedServiceDiscovery.getCachedServiceInstances()
Deprecated.
|
List<ServiceInstance> |
ServiceDiscovery.getInstances(String serviceName) |
List<ServiceInstance> |
NopServiceDiscovery.getInstances(String serviceName) |
List<ServiceInstance> |
ReflectionBasedServiceDiscovery.getInstances(String serviceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceInstanceCustomizer.customize(ServiceInstance serviceInstance,
ApplicationModel applicationModel)
Customizes
the service instance |
void |
NopServiceDiscovery.doRegister(ServiceInstance serviceInstance) |
void |
ReflectionBasedServiceDiscovery.doRegister(ServiceInstance serviceInstance) |
void |
NopServiceDiscovery.doUnregister(ServiceInstance serviceInstance) |
void |
ReflectionBasedServiceDiscovery.doUnregister(ServiceInstance serviceInstance) |
void |
ReflectionBasedServiceDiscovery.doUpdate(ServiceInstance serviceInstance) |
| Modifier and Type | Method and Description |
|---|---|
MetadataInfo |
ServiceDiscovery.getRemoteMetadata(String revision,
List<ServiceInstance> instances) |
MetadataInfo |
AbstractServiceDiscovery.getRemoteMetadata(String revision,
List<ServiceInstance> instances) |
void |
ReflectionBasedServiceDiscovery.notifyListener(String serviceName,
ServiceInstancesChangedListener listener,
List<ServiceInstance> instances) |
| Constructor and Description |
|---|
InstanceAddressURL(ServiceInstance instance,
MetadataInfo metadataInfo) |
InstanceAddressURL(ServiceInstance instance,
MetadataInfo metadataInfo,
String protocol) |
| Modifier and Type | Method and Description |
|---|---|
List<ServiceInstance> |
ServiceInstancesChangedEvent.getServiceInstances() |
| Constructor and Description |
|---|
ServiceInstancesChangedEvent(String serviceName,
List<ServiceInstance> serviceInstances) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<ServiceInstance>> |
ServiceInstancesChangedListener.getAllInstances() |
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
StandardMetadataServiceURLBuilder.build(ServiceInstance serviceInstance)
|
List<URL> |
SpringCloudMetadataServiceURLBuilder.build(ServiceInstance serviceInstance) |
List<URL> |
MetadataServiceURLBuilder.build(ServiceInstance serviceInstance)
Build the
URLs from the specified ServiceInstance |
void |
ServiceInstanceMetadataCustomizer.customize(ServiceInstance serviceInstance,
ApplicationModel applicationModel) |
void |
ServiceInstanceHostPortCustomizer.customize(ServiceInstance serviceInstance,
ApplicationModel applicationModel) |
void |
ProtocolPortsMetadataCustomizer.customize(ServiceInstance serviceInstance,
ApplicationModel applicationModel) |
static void |
ServiceInstanceMetadataUtils.customizeInstance(ServiceInstance instance,
ApplicationModel applicationModel) |
static DefaultServiceInstance.Endpoint |
ServiceInstanceMetadataUtils.getEndpoint(ServiceInstance serviceInstance,
String protocol)
Get the property value of port by the specified
the metadata of
service instance and protocol |
static String |
ServiceInstanceMetadataUtils.getExportedServicesRevision(ServiceInstance serviceInstance)
The revision for all exported Dubbo services from the specified
ServiceInstance. |
static MetadataInfo |
MetadataUtils.getMetadata(String revision,
ServiceInstance instance,
MetadataReport metadataReport) |
static String |
ServiceInstanceMetadataUtils.getMetadataStorageType(ServiceInstance serviceInstance)
Get the metadata storage type specified by the peer instance.
|
static String |
ServiceInstanceMetadataUtils.getRemoteCluster(ServiceInstance serviceInstance) |
static boolean |
ServiceInstanceMetadataUtils.hasEndpoints(ServiceInstance serviceInstance) |
static boolean |
ServiceInstanceMetadataUtils.isValidInstance(ServiceInstance instance) |
static MetadataUtils.ProxyHolder |
MetadataUtils.referProxy(ServiceInstance instance) |
static void |
ServiceInstanceMetadataUtils.setEndpoints(ServiceInstance serviceInstance,
Map<String,Integer> protocolPorts) |
static void |
ServiceInstanceMetadataUtils.setMetadataStorageType(ServiceInstance serviceInstance,
String metadataType)
Set the metadata storage type in specified
service instance |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceInstanceNotificationCustomizer.customize(List<ServiceInstance> serviceInstance) |
void |
SpringCloudServiceInstanceNotificationCustomizer.customize(List<ServiceInstance> serviceInstance) |
static MetadataInfo |
MetadataUtils.getRemoteMetadata(String revision,
List<ServiceInstance> instances,
MetadataReport metadataReport) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.