public final class ShadowDataSource extends AbstractDataSourceAdapter
| 构造器和说明 |
|---|
ShadowDataSource(DataSource actualDataSource,
DataSource shadowDataSource,
org.apache.shardingsphere.core.rule.ShadowRule shadowRule,
Properties props) |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
getConnection() |
close, close, getConnection, getParentLogger, getRuntimeContextgetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic ShadowDataSource(DataSource actualDataSource, DataSource shadowDataSource, org.apache.shardingsphere.core.rule.ShadowRule shadowRule, Properties props) throws SQLException
SQLExceptionpublic Connection getConnection() throws SQLException
SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.