public class OrchestrationShardingDataSource extends ShardingDataSource
| Constructor and Description |
|---|
OrchestrationShardingDataSource(Map<String,DataSource> dataSourceMap,
ShardingRuleConfiguration shardingRuleConfig,
Map<String,Object> configMap,
Properties props,
OrchestrationFacade orchestrationFacade) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init()
Initialize for sharding orchestration.
|
getConnection, renewgetConnection, getDatabaseType, getLogWriter, getParentLogger, setLogWritergetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic OrchestrationShardingDataSource(Map<String,DataSource> dataSourceMap, ShardingRuleConfiguration shardingRuleConfig, Map<String,Object> configMap, Properties props, OrchestrationFacade orchestrationFacade) throws SQLException
SQLExceptionpublic void init()
public void close()
close in interface AutoCloseableclose in class ShardingDataSourceCopyright © 2018. All rights reserved.