public abstract class DefaultDataClient extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Error |
registerError |
protected boolean |
registerResult |
protected com.taobao.config.client.DataClientRegistration |
registration |
protected ServerListManager |
serverMgr
服务端ip管理组件
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addExcListener(ExcListener listener) |
protected boolean |
cleanUpIfNecessary() |
String |
getClientId() |
String |
getDataId() |
com.taobao.config.client.DataClientRegistration |
getRegistration() |
ServerListManager |
getServerListManager() |
void |
handleRegisterResult(boolean result,
Error error) |
int |
hashCode() |
protected boolean |
isDisable() |
protected boolean |
isEnable() |
protected boolean |
isNotRegistered() |
protected boolean |
isRegistered() |
void |
onServerDisconnected() |
protected boolean |
setDisable()
Set isEnable with FALSE and return its previous value.
|
protected volatile boolean registerResult
protected Error registerError
protected final com.taobao.config.client.DataClientRegistration registration
protected final ServerListManager serverMgr
protected boolean isEnable()
protected boolean isDisable()
protected boolean isRegistered()
protected boolean isNotRegistered()
protected boolean setDisable()
public String getClientId()
public String getDataId()
public com.taobao.config.client.DataClientRegistration getRegistration()
public void handleRegisterResult(boolean result,
Error error)
public void onServerDisconnected()
protected boolean cleanUpIfNecessary()
public ServerListManager getServerListManager()
public void addExcListener(ExcListener listener)
Copyright © 2019. All rights reserved.