public class DubboCloudRegistry
extends org.apache.dubbo.registry.support.FailbackRegistry
FailbackRegistry is based on Spring Cloud DiscoveryClient.| 限定符和类型 | 字段和说明 |
|---|---|
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. |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 org.apache.dubbo.registry.support.FailbackRegistrypublic final void doUnregister(org.apache.dubbo.common.URL url)
doUnregister 在类中 org.apache.dubbo.registry.support.FailbackRegistrypublic final void doSubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
doSubscribe 在类中 org.apache.dubbo.registry.support.FailbackRegistrypublic final void doUnsubscribe(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener)
doUnsubscribe 在类中 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 © 2020 Pivotal Software, Inc.. All rights reserved.