public final class ShardingRuntimeContext extends AbstractRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>
| Constructor and Description |
|---|
ShardingRuntimeContext(Map<String,DataSource> dataSourceMap,
org.apache.shardingsphere.core.rule.ShardingRule rule,
Properties props,
org.apache.shardingsphere.spi.database.DatabaseType databaseType) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface AutoCloseableclose in class AbstractRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>ExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.