Interface ManageableDataSource
- All Superinterfaces:
AutoCloseable,CommonDataSource,DataSource,Wrapper
- All Known Implementing Classes:
AbstractManageableDataSource,DBCPDataSource,DuckdbDataSource
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes up the datasource, frees all of its resources.Methods inherited from interface CommonDataSource
createShardingKeyBuilder, getParentLoggerMethods inherited from interface DataSource
createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriterMethods inherited from interface Wrapper
isWrapperFor, unwrap
-
Method Details
-
close
Closes up the datasource, frees all of its resources. No other connection can be gathered from this DataSource once close() has been called- Specified by:
closein interfaceAutoCloseable- Throws:
SQLException
-