public interface Database
Modifier and Type | Method and Description |
---|---|
int |
getActiveConnections()
Gets the number of active connections from the pool.
|
String |
getExternalJdbcUrl()
Gets the external Jdbc URL to connect to this database from other JVMs.
|
String |
getJdbcUrl()
Gets the Jdbc Url to connect to this database.
|
String |
getPassword()
Gets the password to connect to the database.
|
String |
getUsername()
Gets the username to connect to the database.
|
DataSource |
start()
Starts a database.
|
void |
stop()
Stops a database.
|
DataSource start()
int getActiveConnections()
String getJdbcUrl()
String getExternalJdbcUrl()
String getUsername()
String getPassword()
void stop()
Copyright © 2022. All rights reserved.