ReadQueryLoadBalanceAlgorithm
Fully-qualified class name
org.apache.shardingsphere.readwritesplitting.spi.ReadQueryLoadBalanceAlgorithm
Definition
Read query load balance algorithm’s definition
Implementation classes
Configuration Type | Description | Fully-qualified class name |
---|---|---|
ROUND_ROBIN | the read database load balancer algorithm based on polling | org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RoundRobinReadQueryLoadBalanceAlgorithm |
RANDOM | the read database load balancer algorithm based on random | org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RandomReadQueryLoadBalanceAlgorithm |
WEIGHT | the read database load balancer algorithm based on weight | org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.WeightReadQueryLoadBalanceAlgorithm |
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .