public synchronized Iface get(TNode node) throws RetryFailedException {
   if (locatorMap.containsKey(node.getNodeId())) {
     return locatorMap.get(node.getNodeId());
   }
   System.out.println("Couldn't find node: " + node);
   printKeySet();
   throw new RetryFailedException();
 }
 public void remove(TNode node) {
   locatorMap.remove(node.getNodeId());
 }
 public synchronized void add(TNode node, NodeLocator nodeLocator) {
   locatorMap.put(node.getNodeId(), nodeLocator);
 }