ReadQueryLoadBalanceAlgorithm

全限定类名

org.apache.shardingsphere.readwritesplitting.spi.ReadQueryLoadBalanceAlgorithm

定义

读库负载均衡算法

已知实现

配置标识详细说明全限定类名
ROUND_ROBIN基于轮询的读库负载均衡算法org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RoundRobinReadQueryLoadBalanceAlgorithm
RANDOM基于随机的读库负载均衡算法org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RandomReadQueryLoadBalanceAlgorithm
WEIGHT基于权重的读库负载均衡算法org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.WeightReadQueryLoadBalanceAlgorithm