Retro Eye care Haitian Deep Dark Default

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