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, renew
getConnection, getDatabaseType, getLogWriter, getParentLogger, setLogWriter
getLoginTimeout, setLoginTimeout
isWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWrapperFor, unwrap
public OrchestrationMasterSlaveDataSource(Map<String,DataSource> dataSourceMap, MasterSlaveRuleConfiguration masterSlaveRuleConfig, Map<String,Object> configMap, OrchestrationFacade orchestrationFacade) throws SQLException
SQLException
public void init()
public void close()
close
in interface AutoCloseable
Copyright © 2018. All rights reserved.