类 SofaRegistry
- java.lang.Object
-
- org.apache.dubbo.registry.support.AbstractRegistry
-
- org.apache.dubbo.registry.support.FailbackRegistry
-
- org.apache.dubbo.registry.sofa.SofaRegistry
-
- 所有已实现的接口:
Node,Registry,RegistryService
public class SofaRegistry extends FailbackRegistry
The Sofa registry.- 从以下版本开始:
- 2.7.2
-
-
构造器概要
构造器 构造器 说明 SofaRegistry(URL url)Instantiates a new Sofa registry.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddoRegister(URL url)voiddoSubscribe(URL url, NotifyListener listener)voiddoUnregister(URL url)voiddoUnsubscribe(URL url, NotifyListener listener)booleanisAvailable()-
从类继承的方法 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
-
-
-
-
构造器详细资料
-
SofaRegistry
public SofaRegistry(URL url)
Instantiates a new Sofa registry.- 参数:
url- the url
-
-
方法详细资料
-
isAvailable
public boolean isAvailable()
-
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
-
-