public class OrchestrationMasterSlaveDataSource extends MasterSlaveDataSource implements AutoCloseable
| Constructor and Description |
|---|
OrchestrationMasterSlaveDataSource(Map<String,DataSource> dataSourceMap,
MasterSlaveRuleConfiguration masterSlaveRuleConfig,
Map<String,Object> configMap,
OrchestrationFacade orchestrationFacade) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init()
Initialize for master-slave orchestration.
|
getAllDataSources, getConnection, renewgetConnection, getDatabaseType, getLogWriter, getParentLogger, setLogWritergetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic OrchestrationMasterSlaveDataSource(Map<String,DataSource> dataSourceMap, MasterSlaveRuleConfiguration masterSlaveRuleConfig, Map<String,Object> configMap, OrchestrationFacade orchestrationFacade) throws SQLException
SQLExceptionpublic void init()
public void close()
close in interface AutoCloseableCopyright © 2018. All rights reserved.