use of com.ms.silverking.cloud.topology.GenericNode in project SilverKing by Morgan-Stanley.
the class TopologyRingCreator method dummySetNodes.
private static Set<Node> dummySetNodes(Set<String> nodeIDs) {
Set<Node> dummyNodes;
dummyNodes = new HashSet<>();
for (String nodeID : nodeIDs) {
dummyNodes.add(new GenericNode(NodeClass.server, nodeID));
}
return dummyNodes;
}
use of com.ms.silverking.cloud.topology.GenericNode in project SilverKing by Morgan-Stanley.
the class RingTreeBuilder method dummySetNodes.
private static Set<Node> dummySetNodes(Set<String> nodeIDs) {
Set<Node> dummyNodes;
dummyNodes = new HashSet<>();
for (String nodeID : nodeIDs) {
dummyNodes.add(new GenericNode(NodeClass.server, nodeID));
}
return dummyNodes;
}
Aggregations