public final class ShardingCacheRuleBuilder extends Object implements org.apache.shardingsphere.infra.rule.builder.database.DatabaseRuleBuilder<ShardingCacheRuleConfiguration>
| Constructor and Description |
|---|
ShardingCacheRuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shardingsphere.infra.rule.identifier.scope.DatabaseRule |
build(ShardingCacheRuleConfiguration config,
String databaseName,
Map<String,DataSource> dataSources,
Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> builtRules,
org.apache.shardingsphere.infra.instance.InstanceContext instanceContext) |
int |
getOrder() |
Class<ShardingCacheRuleConfiguration> |
getTypeClass() |
public org.apache.shardingsphere.infra.rule.identifier.scope.DatabaseRule build(ShardingCacheRuleConfiguration config, String databaseName, Map<String,DataSource> dataSources, Collection<org.apache.shardingsphere.infra.rule.ShardingSphereRule> builtRules, org.apache.shardingsphere.infra.instance.InstanceContext instanceContext)
build in interface org.apache.shardingsphere.infra.rule.builder.database.DatabaseRuleBuilder<ShardingCacheRuleConfiguration>public int getOrder()
getOrder in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<ShardingCacheRuleConfiguration>public Class<ShardingCacheRuleConfiguration> getTypeClass()
getTypeClass in interface org.apache.shardingsphere.infra.util.spi.type.ordered.OrderedSPI<ShardingCacheRuleConfiguration>Copyright © 2023 The Apache Software Foundation. All rights reserved.