public interface DBApi
Modifier and Type | Method and Description |
---|---|
Database |
getDatabase(java.lang.String name)
Get database with given configuration name.
|
java.util.List<Database> |
getDatabases()
All configured databases.
|
void |
shutdown()
Shutdown all databases, releasing resources.
|
java.util.List<Database> getDatabases()
Database getDatabase(java.lang.String name)
name
- the configuration name of the databasevoid shutdown()