| 构造器和说明 |
|---|
SessionRegistry() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
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
|
DataStore |
getSessionDataStore()
Getter method for property sessionDataStore.
|
Interests |
getSessionInterests()
Getter method for property sessionInterests.
|
TaskListenerManager |
getTaskListenerManager()
Getter method for property taskListenerManager.
|
void |
register(StoreData storeData)
register new publisher or subscriber data
|
void |
unRegister(StoreData<String> storeData)
message mode com.alipay.sofa.registry.client.provider for client node to unregister single subscriber or publisher data
|
public void register(StoreData storeData)
Registrypublic void unRegister(StoreData<String> storeData)
RegistryunRegister 在接口中 Registrypublic void cancel(List<String> connectIds)
Registrypublic void fetchChangData()
RegistryfetchChangData 在接口中 Registrypublic void fetchChangDataProcess()
RegistryfetchChangDataProcess 在接口中 Registrypublic Interests getSessionInterests()
public DataStore getSessionDataStore()
public TaskListenerManager getTaskListenerManager()
Copyright © 2019 The Ant Financial. All rights reserved.