AbstractMariaDBManager
| Type | 🟦 Abstract class |
| Package | io.github.mrtesz.teszcore.db.manager.mariadb |
| GitHub | AbstractMariaDBManager.java |
| Extends | AbstractDBManager.java |
Description
Parent class of all MariaDBManagers
Methods
connect
implemented from DBManager
Throws: ǸullPointerException when url, user or password is blank or null and infoWhenCredentialsAreNull is true
checkConnection
implemented from DBManager
disconnect
implemented from DBManager
getConnection
implemented from DBManager
async
implemented from DBManager
AsyncSqliteManager async(int timeoutSecs);
Creates an AsyncSqliteManager instance with the same arguments of the executing DBManager
| Parameter | Type | Annotations | Description |
|---|---|---|---|
timeoutSecs | int | - | The seconds after AsyncSqliteManager methods complete on timeout. |
Returns: AsyncSqliteManager — a new AsyncSqliteManager instance
sync
implemented from DBManager
getName
implemented from DBManager
getDataSource
HikariDataSource getDataSource();
Get the DataSource of the DBManager
Returns: <abbr title=com.zaxxer.hikari.HikariDataSource>HikariDataSource</abbr> — the DataSource of the DBManager