Package chord

Examples of chord.Key


     * @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));
    }
View Full Code Here


        {
            return peer;
        }else if(peer.getReplicat(restaurant) != null)
        {
            return peer;
        }else return peer.findSuccessor(new Key(restaurant));
    }
View Full Code Here

TOP

Related Classes of chord.Key

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.