public final class GlobalRulePersistService extends Object implements GlobalPersistService<Collection<org.apache.shardingsphere.infra.config.RuleConfiguration>>
| 构造器和说明 |
|---|
GlobalRulePersistService() |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<org.apache.shardingsphere.infra.config.RuleConfiguration> |
load()
Load configurations.
|
void |
persist(Collection<org.apache.shardingsphere.infra.config.RuleConfiguration> globalRuleConfigs,
boolean isOverwrite)
Persist configurations.
|
public void persist(Collection<org.apache.shardingsphere.infra.config.RuleConfiguration> globalRuleConfigs, boolean isOverwrite)
GlobalPersistServicepersist 在接口中 GlobalPersistService<Collection<org.apache.shardingsphere.infra.config.RuleConfiguration>>globalRuleConfigs - configurationsisOverwrite - is overwritepublic Collection<org.apache.shardingsphere.infra.config.RuleConfiguration> load()
GlobalPersistServiceload 在接口中 GlobalPersistService<Collection<org.apache.shardingsphere.infra.config.RuleConfiguration>>Copyright © 2021 The Apache Software Foundation. All rights reserved.