摘要: 本文来自http://www.iteye.com/topic/1132274,版权原作者所有Java代码 public class ConsistentHash { private final HashFunction hashFunction; private final int numberOfReplicas; private final SortedMap circle = new TreeMap(); public ConsistentHash(HashFunction hashFunction, int numberOfReplicas, Collection node... 阅读全文
posted @ 2013-10-19 21:25 weiwelcome0 阅读(3381) 评论(0) 推荐(0) 编辑