public abstract class AsyncRegistryService extends Object implements RegistryCenterService
RegistryCenterService.| 构造器和说明 |
|---|
AsyncRegistryService()
Instantiates a new async registry service.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
doRegister(RegisterInfo url)
Do register.
|
boolean |
isStop()
Checks if is stop.
|
void |
register(RegisterInfo url)
注册数据,比如:提供者地址,消费者地址,路由规则,覆盖规则,等数据。.
|
void |
setStop(boolean stop)
Sets the stop.
|
void |
stop()
Stop.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlookup, subscribe, unregister, unsubscribepublic AsyncRegistryService()
public boolean isStop()
public void stop()
public void setStop(boolean stop)
stop - the new stoppublic final void register(RegisterInfo url)
RegistryCenterServiceregister 在接口中 RegistryCenterServiceurl - 注册信息,不允许为空protected abstract void doRegister(RegisterInfo url)
url - the urlCopyright © 2022 Baidu, Inc.. All rights reserved.