update network nodegroup
@@ -34,6 +34,10 @@ import java.util.concurrent.ConcurrentHashMap;
public class GroupContainer {
private Map<String, NodeGroup> nodeGroups = new ConcurrentHashMap<>();
+ public GroupContainer() {
+ nodeGroups.put(NetworkConstant.NETWORK_NODE_IN_GROUP, new NodeGroup(NetworkConstant.NETWORK_NODE_IN_GROUP));
+ nodeGroups.put(NetworkConstant.NETWORK_NODE_OUT_GROUP, new NodeGroup(NetworkConstant.NETWORK_NODE_OUT_GROUP));
+ }
public int getNodesCount() {
int total = 0;
