Package voldemort.utils

Examples of voldemort.utils.ConstantHashFunction


        return new ConsistentRoutingStrategy(hash, getTestNodes(), replicationFactor);
    }

    public ConsistentRoutingStrategy getRouter(int hashValue, int replicationFactor) {
        List<Node> nodes = getTestNodes();
        return new ConsistentRoutingStrategy(new ConstantHashFunction(hashValue),
                                             nodes,
                                             replicationFactor);
    }
View Full Code Here

TOP

Related Classes of voldemort.utils.ConstantHashFunction

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.