LoadBalanceAlgorithm

Fully-qualified class name

org.apache.shardingsphere.infra.algorithm.loadbalancer.core.LoadBalanceAlgorithm

Definition

Load balance algorithms, they can be used in readwrite-splitting and traffic features.

Implementation classes

Configuration TypeDescriptionFully-qualified class name
ROUND_ROBINload balancer algorithm based on pollingorg.apache.shardingsphere.infra.algorithm.loadbalancer.round.robin.RoundRobinLoadBalanceAlgorithm
RANDOMload balancer algorithm based on randomorg.apache.shardingsphere.infra.algorithm.loadbalancer.random.RandomLoadBalanceAlgorithm
WEIGHTload balancer algorithm based on weightorg.apache.shardingsphere.infra.algorithm.loadbalancer.weight.WeightLoadBalanceAlgorithm

KeyGenerateAlgorithm

Fully-qualified class name

org.apache.shardingsphere.keygen.core.algorithm.KeyGenerateAlgorithm

Definition

Distributed key generated algorithms, they can be used in sharding feature.

Implementation classes

Configuration TypeDescriptionFully-qualified class name
SNOWFLAKESnowflake key generate algorithmorg.apache.shardingsphere.keygen.snowflake.algorithm.SnowflakeKeyGenerateAlgorithm
UUIDUUID key generate algorithmorg.apache.shardingsphere.keygen.uuid.algorithm.UUIDKeyGenerateAlgorithm

MessageDigestAlgorithm

Fully-qualified class name

org.apache.shardingsphere.infra.algorithm.messagedigest.core.MessageDigestAlgorithm

Definition

Message digest algorithms, they can be used in encrypt and mask feature.

Implementation classes

Configuration TypeDescriptionFully-qualified class name
MD5MD5 message digest algorithmorg.apache.shardingsphere.infra.algorithm.messagedigest.md5.MD5MessageDigestAlgorithm