public class DubboCloudRegistry
extends org.apache.dubbo.registry.support.FailbackRegistry
FailbackRegistry is based on Spring Cloud DiscoveryClient.| Modifier and Type | Field and Description |
|---|---|
protected static String |
DUBBO_METADATA_SERVICE_CLASS_NAME |
protected org.slf4j.Logger |
logger |
static String |
SERVICES_LOOKUP_INTERVAL_PARAM_NAME
The parameter name of
servicesLookupInterval. |
| Constructor and Description |
|---|
DubboCloudRegistry(org.apache.dubbo.common.URL url,
org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient,
DubboServiceMetadataRepository repository,
DubboMetadataServiceProxy dubboMetadataConfigServiceProxy,
JSONUtils jsonUtils,
DubboGenericServiceFactory dubboGenericServiceFactory,
org.springframework.context.ConfigurableApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
doRegister(org.apache.dubbo.common.URL url) |
void |
doSubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener) |
void |
doUnregister(org.apache.dubbo.common.URL url) |
void |
doUnsubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener) |
protected boolean |
isAdminURL(org.apache.dubbo.common.URL url) |
boolean |
isAvailable() |
protected boolean |
isDubboMetadataServiceURL(org.apache.dubbo.common.URL url) |
protected boolean |
shouldRegister(org.apache.dubbo.common.URL url) |
addFailedSubscribed, destroy, doNotify, notify, recover, reExportRegister, reExportUnregister, register, removeFailedNotifiedTask, removeFailedRegisteredTask, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribepublic static final String SERVICES_LOOKUP_INTERVAL_PARAM_NAME
servicesLookupInterval.protected static final String DUBBO_METADATA_SERVICE_CLASS_NAME
protected final org.slf4j.Logger logger
public DubboCloudRegistry(org.apache.dubbo.common.URL url,
org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient,
DubboServiceMetadataRepository repository,
DubboMetadataServiceProxy dubboMetadataConfigServiceProxy,
JSONUtils jsonUtils,
DubboGenericServiceFactory dubboGenericServiceFactory,
org.springframework.context.ConfigurableApplicationContext applicationContext)
protected boolean shouldRegister(org.apache.dubbo.common.URL url)
public final void doRegister(org.apache.dubbo.common.URL url)
doRegister in class org.apache.dubbo.registry.support.FailbackRegistrypublic final void doUnregister(org.apache.dubbo.common.URL url)
doUnregister in class org.apache.dubbo.registry.support.FailbackRegistrypublic final void doSubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
doSubscribe in class org.apache.dubbo.registry.support.FailbackRegistrypublic final void doUnsubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
doUnsubscribe in class org.apache.dubbo.registry.support.FailbackRegistrypublic boolean isAvailable()
protected boolean isAdminURL(org.apache.dubbo.common.URL url)
protected boolean isDubboMetadataServiceURL(org.apache.dubbo.common.URL url)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.