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 Type | Description | Fully-qualified class name |
---|---|---|
ROUND_ROBIN | load balancer algorithm based on polling | org.apache.shardingsphere.infra.algorithm.loadbalancer.round.robin.RoundRobinLoadBalanceAlgorithm |
RANDOM | load balancer algorithm based on random | org.apache.shardingsphere.infra.algorithm.loadbalancer.random.RandomLoadBalanceAlgorithm |
WEIGHT | load balancer algorithm based on weight | org.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 Type | Description | Fully-qualified class name |
---|---|---|
SNOWFLAKE | Snowflake key generate algorithm | org.apache.shardingsphere.keygen.snowflake.algorithm.SnowflakeKeyGenerateAlgorithm |
UUID | UUID key generate algorithm | org.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 Type | Description | Fully-qualified class name |
---|---|---|
MD5 | MD5 message digest algorithm | org.apache.shardingsphere.infra.algorithm.messagedigest.md5.MD5MessageDigestAlgorithm |
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .