72737475767778
* @return The peer that is responsible for this key * @throws RemoteException */ private final Peer findIndexer(String restaurant) throws RemoteException { return this.tracker.getRandomPeer().findSuccessor(new Key(restaurant)); }
92939495969798
{ return peer; }else if(peer.getReplicat(restaurant) != null) { return peer; }else return peer.findSuccessor(new Key(restaurant)); }