类 DNSRegistry
- java.lang.Object
-
- org.apache.dubbo.registry.support.AbstractRegistry
-
- org.apache.dubbo.registry.support.FailbackRegistry
-
- org.apache.dubbo.registry.dns.DNSRegistry
-
- 所有已实现的接口:
Node
,Registry
,RegistryService
public class DNSRegistry extends FailbackRegistry
Empty implements for DNS
DNS only support `Service Discovery` mode register
Used to compat past version like 2.6.x, 2.7.x with interface level register
DNSServiceDiscovery
is the real implementation of DNS
-
-
构造器概要
构造器 构造器 说明 DNSRegistry(URL url)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
doRegister(URL url)
void
doSubscribe(URL url, NotifyListener listener)
void
doUnregister(URL url)
void
doUnsubscribe(URL url, NotifyListener listener)
boolean
isAvailable()
is available.-
从类继承的方法 org.apache.dubbo.registry.support.FailbackRegistry
destroy, reExportRegister, reExportUnregister, register, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribe
-
从类继承的方法 org.apache.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, lookup, toString
-
-
-
-
构造器详细资料
-
DNSRegistry
public DNSRegistry(URL url)
-
-
方法详细资料
-
isAvailable
public boolean isAvailable()
从接口复制的说明:Node
is available.- 返回:
- available.
-
doRegister
public void doRegister(URL url)
- 指定者:
doRegister
在类中FailbackRegistry
-
doUnregister
public void doUnregister(URL url)
- 指定者:
doUnregister
在类中FailbackRegistry
-
doSubscribe
public void doSubscribe(URL url, NotifyListener listener)
- 指定者:
doSubscribe
在类中FailbackRegistry
-
doUnsubscribe
public void doUnsubscribe(URL url, NotifyListener listener)
- 指定者:
doUnsubscribe
在类中FailbackRegistry
-
-