public interface Registry
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel(List<String> connectIds)
cancel publisher or subscriber data by client ip address and port(ip:port),one ip address has more than one processId
when disconnection between client node and session node,disconnect event fire remove all pub and sub info on session and data node
this function always use in Console manage Client node list,input ip list must transform to connectId through connect manage
|
void |
cleanClientConnect()
for scheduler clean no connect client
|
void |
fetchChangData()
Timing tasks to send all subscriber dataInfoId version to data,
Select higher version data push to client node
|
void |
fetchChangDataProcess()
for fetchChangData first invoke
|
void |
register(StoreData<String> data)
register new publisher or subscriber data
|
void |
remove(List<String> connectIds)
remove publisher or subscriber data by client ip address and port(ip:port)
this function always use in rest api Console manage ,the run mode is standard
remove subscriber data will push empty datum to some one who has dataInfoId begin with pushEmptyDataDataIdPrefixes config
|
void |
renewDatum(String connectId)
Regularly send update Datum with same connectID valid time request service
|
void |
sendDatumSnapshot(String connectId,
String dataServerIp) |
void |
setEnableDataRenewSnapshot(boolean enableDataRenewSnapshot) |
void |
unRegister(StoreData<String> data)
message mode com.alipay.sofa.registry.client.provider for client node to unregister single subscriber or publisher data
|
void cancel(List<String> connectIds)
connectIds - void remove(List<String> connectIds)
connectIds - void unRegister(StoreData<String> data)
data - void fetchChangData()
void fetchChangDataProcess()
void renewDatum(String connectId)
void cleanClientConnect()
void setEnableDataRenewSnapshot(boolean enableDataRenewSnapshot)
Copyright © 2019 The Ant Financial. All rights reserved.