ClusterInfo
ClusterInfo 提供有关 SmartEDB 集群接口的信息。
类定义
public static class ClusterInfo
{
public int rTransCommit;
public int rTransRollback;
public long bytesSent;
public long bytesRecv;
public int nActiveNodes;
public int nodeId;
ClusterInfo(int rTransCommit, int rTransRollback, long bytesSent,
long bytesRecv, int nActiveNodes, int nodeId)
{
this.rTransCommit = rTransCommit;
this.rTransRollback = rTransRollback;
this.bytesSent = bytesSent;
this.bytesRecv = bytesRecv;
this.nActiveNodes = nActiveNodes;
this.nodeId = nodeId;
}
};
定义说明
rTransCommit
成功的远程事务数量
rTransRollback
中止的远程事务数量
bytesSent
发送的数据总量(以字节为单位)
bytesRecv
接收的数据总量(以字节为单位)
nActiveNodes
当前活跃的集群节点数量
nodeId
本节点的标识符