use of com.ms.silverking.net.IPAndPort in project SilverKing by Morgan-Stanley.
the class NodeInfoZK method getNodeInfo.
public Map<IPAndPort, NodeInfo> getNodeInfo(Set<IPAndPort> nodes) throws KeeperException {
Map<IPAndPort, NodeInfo> allNodeInfo;
allNodeInfo = new HashMap<>();
for (IPAndPort node : nodes) {
NodeInfo nodeInfo;
nodeInfo = getNodeInfo(node);
allNodeInfo.put(node, nodeInfo);
}
return allNodeInfo;
}
Aggregations