public final class SpringMasterSlaveDataSource extends MasterSlaveDataSource
| Constructor and Description |
|---|
SpringMasterSlaveDataSource(Map<String,DataSource> dataSourceMap,
String name,
String masterDataSourceName,
Collection<String> slaveDataSourceNames,
org.apache.shardingsphere.spi.masterslave.MasterSlaveLoadBalanceAlgorithm loadBalanceAlgorithm,
Properties props) |
getCachedDatabaseMetaData, getConnection, getMasterSlaveRule, getShardingPropertiesclose, getConnection, getDatabaseType, getDatabaseType, getDataSourceMap, getLogWriter, getParentLogger, getShardingTransactionManagerEngine, setLogWriter, setShardingTransactionManagerEnginegetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic SpringMasterSlaveDataSource(Map<String,DataSource> dataSourceMap, String name, String masterDataSourceName, Collection<String> slaveDataSourceNames, org.apache.shardingsphere.spi.masterslave.MasterSlaveLoadBalanceAlgorithm loadBalanceAlgorithm, Properties props) throws SQLException
SQLExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.