ShardingProperties
@ConfigurationProperties(prefix = "wow.r2dbc.datasource.sharding")
Constructors
Link copied to clipboard
constructor(databases: Map<String, ShardingProperties.Database> = mapOf(), eventStream: Map<String, ShardingProperties.ShardingRule> = mapOf(), snapshot: Map<String, ShardingProperties.ShardingRule> = mapOf(), algorithms: Map<String, ShardingProperties.ShardingAlgorithm> = mapOf())
Types
Link copied to clipboard
Link copied to clipboard
data class ShardingAlgorithm(val type: String = MOD_ALG, val mod: ShardingProperties.ModAlgorithm?, val single: ShardingProperties.SingleAlgorithm?)
Link copied to clipboard
Link copied to clipboard