类 org.tinygroup.dbrouter.util.ConsistentHash
的使用

使用 ConsistentHash 的软件包
org.tinygroup.dbrouter.impl.shardrule   
 

org.tinygroup.dbrouter.impl.shardruleConsistentHash 的使用
 

参数类型为 ConsistentHashorg.tinygroup.dbrouter.impl.shardrule 中的构造方法
ShardRuleMatchWithSectionAndHash(List<Section> sections, String tableName, String targetTableName, ConsistentHash<String> consistentHash, String fieldName, String expression, Partition partition, Object[] preparedParams)
           
 



Copyright © 2006–2015 TinyGroup. All rights reserved.