Ejemplo n.º 1
0
 internal Node(ReplicaGroup group, string hostName, int port, int nodeID)
 {
     this.group = group;
     this.hostName = hostName;
     this.port = port;
     this.nodeName = hostName + SequoiadbConstants.NODE_NAME_SERVICE_SEP + port;
     this.nodeID = nodeID;
     this.isBigEndian = group.isBigEndian;
 }
Ejemplo n.º 2
0
 internal Node(ReplicaGroup group, string hostName, int port, int nodeID)
 {
     this.group       = group;
     this.hostName    = hostName;
     this.port        = port;
     this.nodeName    = hostName + SequoiadbConstants.NODE_NAME_SERVICE_SEP + port;
     this.nodeID      = nodeID;
     this.isBigEndian = group.isBigEndian;
 }