Interface ManageableDataSource
- All Superinterfaces:
AutoCloseable
,CommonDataSource
,DataSource
,Wrapper
- All Known Implementing Classes:
AbstractManageableDataSource
,DBCPDataSource
,DuckdbDataSource
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes up the datasource, frees all of its resources.Methods inherited from interface CommonDataSource
createShardingKeyBuilder, getParentLogger
Methods inherited from interface DataSource
createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
Methods 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:
close
in interfaceAutoCloseable
- Throws:
SQLException
-