public final class ShardingRuntimeContext extends AbstractRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>
| 构造器和说明 |
|---|
ShardingRuntimeContext(Map<String,DataSource> dataSourceMap,
org.apache.shardingsphere.core.rule.ShardingRule rule,
Properties props,
org.apache.shardingsphere.spi.database.DatabaseType databaseType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatabaseType, getExecuteEngine, getParseEngine, getProps, getRulepublic ShardingRuntimeContext(Map<String,DataSource> dataSourceMap, org.apache.shardingsphere.core.rule.ShardingRule rule, Properties props, org.apache.shardingsphere.spi.database.DatabaseType databaseType) throws SQLException
SQLExceptionpublic void close()
throws Exception
close 在接口中 AutoCloseableclose 在类中 AbstractRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>ExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.