Skip navigation links
A C D E F G I K L N R S U _ 

A

aioClient - Variable in class cn.xnatural.remoter.Remoter
tcp数据发送端
aioServer - Variable in class cn.xnatural.remoter.Remoter
tcp数据接收端
appId - Variable in class cn.xnatural.remoter.Remoter
应用实例id
appName - Variable in class cn.xnatural.remoter.Remoter
应用名
appUp(Map, AioStream) - Method in class cn.xnatural.remoter.Remoter
client -> master 接收集群应用的数据上传, 应用上线通知 NOTE: 此方法线程已安全 id 和 tcp 必须唯一
autoHeartbeat() - Method in class cn.xnatural.remoter.Remoter
开始自动心跳

C

cn.xnatural.remoter - package cn.xnatural.remoter
 

D

DataVersion - Class in cn.xnatural.remoter
数据版本同步器, 同步集群数据 多个系统之前的数据同步 NOTE: 最终一致性.
dataVersion(String) - Method in class cn.xnatural.remoter.Remoter
获取数据集的数据版本集群同步器
dataVersionMap - Variable in class cn.xnatural.remoter.Remoter
集群数据版本管理
doFire(EC, String, String, List) - Method in class cn.xnatural.remoter.Remoter
调用远程事件 执行流程: 1.

E

ecMap - Variable in class cn.xnatural.remoter.Remoter
远程事件临时持有 ecId -> EC
ep - Variable in class cn.xnatural.remoter.Remoter
事件中心 https://gitee.com/xnat/enet

F

fire(String, String, List) - Method in class cn.xnatural.remoter.Remoter
同步远程事件调用
fireAsync(String, String, Consumer, List) - Method in class cn.xnatural.remoter.Remoter
异步远程事件调用

G

getAioClient() - Method in class cn.xnatural.remoter.Remoter
getter
getAioServer() - Method in class cn.xnatural.remoter.Remoter
getter
getAppInfo() - Method in class cn.xnatural.remoter.Remoter
应用自己的信息 例: {"id":"gy_GRLD5JhT4g", "name":"rc", "tcp":"192.168.2.104:8001", "http":"192.168.2.104:8000", "master": true}
getEp() - Method in class cn.xnatural.remoter.Remoter
事件中心

I

isMaster() - Method in class cn.xnatural.remoter.Remoter
是否为master

K

key - Variable in class cn.xnatural.remoter.DataVersion
 

L

log - Static variable in class cn.xnatural.remoter.Remoter
 

N

nodeMap - Variable in class cn.xnatural.remoter.Remoter
保存集群中的应用节点信息 name -> Node

R

receiveDataVersion(String, String, Long, Object) - Method in class cn.xnatural.remoter.Remoter
接收远程远程应用的数据同步
receiveEventReq(JSONObject, JSONObject, AioStream) - Method in class cn.xnatural.remoter.Remoter
接收远程事件的执行请求
receiveEventResp(JSONObject) - Method in class cn.xnatural.remoter.Remoter
接收远程事件返回的数据.
receiveMsg(String, AioStream) - Method in class cn.xnatural.remoter.Remoter
接收远程发送的消息
receiveReply(String, AioStream) - Method in class cn.xnatural.remoter.Remoter
接收远程回响的消息
records - Variable in class cn.xnatural.remoter.DataVersion
 
Remoter - Class in cn.xnatural.remoter
基于 https:/gitee/xnat/enet 做的远程事件 集群分布式 核心类 多应用之间的连接器,简化跨系统调用 依赖 AioServer, AioClient
Remoter(String, String, Map<String, Object>, ExecutorService, EP, Sched) - Constructor for class cn.xnatural.remoter.Remoter
创建 Remoter
Remoter(String, String, Map<String, Object>) - Constructor for class cn.xnatural.remoter.Remoter
Remoter(String, String, String, String, boolean, String, ExecutorService, EP, Sched) - Constructor for class cn.xnatural.remoter.Remoter
创建一个 Remoter
Remoter(String, String, String, String, boolean, String) - Constructor for class cn.xnatural.remoter.Remoter
 
Remoter(String, String, String, String, boolean, ExecutorService, EP, Sched) - Constructor for class cn.xnatural.remoter.Remoter
 
Remoter(String, String, String, String, boolean) - Constructor for class cn.xnatural.remoter.Remoter
 
Remoter(String, String, String, String, ExecutorService, EP, Sched) - Constructor for class cn.xnatural.remoter.Remoter
 
Remoter(String, String, String, String) - Constructor for class cn.xnatural.remoter.Remoter
 
Remoter(String, String, String, boolean, ExecutorService, EP, Sched) - Constructor for class cn.xnatural.remoter.Remoter
 
Remoter(String, String, String, boolean) - Constructor for class cn.xnatural.remoter.Remoter
 
resolveHttp(String) - Method in class cn.xnatural.remoter.Remoter
 

S

sched - Variable in class cn.xnatural.remoter.Remoter
定时任务 https://gitee.com/xnat/sched
sendMsg(String, String, String) - Method in class cn.xnatural.remoter.Remoter
发送消息
sendMsgToAll(String, String) - Method in class cn.xnatural.remoter.Remoter
向不应用的所有实例发送消息
sendMsgToAny(String, String) - Method in class cn.xnatural.remoter.Remoter
向应用其中一个实例发送数据
stop() - Method in class cn.xnatural.remoter.Remoter
stop
sync() - Method in class cn.xnatural.remoter.Remoter
集群应用同步函数

U

update(String, Long, Object) - Method in class cn.xnatural.remoter.DataVersion
更新数据到集群
updateAppInfo(JSONObject) - Method in class cn.xnatural.remoter.Remoter
master -> client 更新 app 信息

_

_charset - Variable in class cn.xnatural.remoter.Remoter
数据编码
_master - Variable in class cn.xnatural.remoter.Remoter
是否为master true: 则向同为master的应用同步集群应用信息, false: 只向 masterHps 指向的服务同步集群应用信息
_masterHps - Variable in class cn.xnatural.remoter.Remoter
集群的服务中心地址 [host1]:port1,[host2]:port2.
A C D E F G I K L N R S U _ 
Skip navigation links

Copyright © 2022. All rights reserved.