public class MasterSlaveDataSource extends AbstractDataSourceAdapter
| 构造器和说明 |
|---|
MasterSlaveDataSource(Map<String,DataSource> dataSourceMap,
MasterSlaveRuleConfiguration masterSlaveRuleConfig,
Map<String,Object> configMap,
Properties props) |
MasterSlaveDataSource(Map<String,DataSource> dataSourceMap,
MasterSlaveRule masterSlaveRule,
Map<String,Object> configMap,
Properties props) |
| 限定符和类型 | 方法和说明 |
|---|---|
MasterSlaveConnection |
getConnection() |
close, getConnection, getDatabaseType, getParentLoggergetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic MasterSlaveDataSource(Map<String,DataSource> dataSourceMap, MasterSlaveRuleConfiguration masterSlaveRuleConfig, Map<String,Object> configMap, Properties props) throws SQLException
SQLExceptionpublic MasterSlaveDataSource(Map<String,DataSource> dataSourceMap, MasterSlaveRule masterSlaveRule, Map<String,Object> configMap, Properties props) throws SQLException
SQLExceptionpublic final MasterSlaveConnection getConnection()
Copyright © 2018. All rights reserved.