Interface EmbeddedDatabase
- All Superinterfaces:
CommonDataSource,DataSource,Wrapper
public interface EmbeddedDatabase extends DataSource
EmbeddedDatabaseserves as a handle to an embedded database instance.An
EmbeddedDatabaseis also aDataSourceand adds ashutdown()operation so that the embedded database instance can be shut down gracefully.- Since:
- 3.0
- Author:
- Keith Donald, Sam Brannen
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshutdown()Shut down this embedded database.Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
Method Detail
shutdown
void shutdown()
Shut down this embedded database.