public class OrchestrationShardingDataSource extends AbstractOrchestrationDataSource
| 构造器和说明 |
|---|
OrchestrationShardingDataSource(OrchestrationConfiguration orchestrationConfig) |
OrchestrationShardingDataSource(ShardingDataSource shardingDataSource,
OrchestrationConfiguration orchestrationConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
renew(DataSourceChangedEvent dataSourceChangedEvent)
Renew sharding data source.
|
void |
renew(org.apache.shardingsphere.orchestration.core.registrycenter.event.DisabledStateChangedEvent disabledStateChangedEvent)
Renew disabled data source names.
|
void |
renew(PropertiesChangedEvent propertiesChangedEvent)
Renew properties.
|
void |
renew(ShardingRuleChangedEvent shardingRuleChangedEvent)
Renew sharding rule.
|
close, getChangedDataSources, getConnection, getConnection, getDataSource, getDeletedDataSources, getModifiedDataSources, getParentLogger, initShardingOrchestrationFacade, initShardingOrchestrationFacade, renewgetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic OrchestrationShardingDataSource(OrchestrationConfiguration orchestrationConfig) throws SQLException
SQLExceptionpublic OrchestrationShardingDataSource(ShardingDataSource shardingDataSource, OrchestrationConfiguration orchestrationConfig) throws SQLException
SQLExceptionpublic final void renew(ShardingRuleChangedEvent shardingRuleChangedEvent)
shardingRuleChangedEvent - sharding rule changed eventpublic final void renew(DataSourceChangedEvent dataSourceChangedEvent)
dataSourceChangedEvent - data source changed eventpublic final void renew(PropertiesChangedEvent propertiesChangedEvent)
propertiesChangedEvent - properties changed eventpublic void renew(org.apache.shardingsphere.orchestration.core.registrycenter.event.DisabledStateChangedEvent disabledStateChangedEvent)
disabledStateChangedEvent - disabled state changed eventCopyright © 2020 The Apache Software Foundation. All rights reserved.