Class MySQLConnectionFactory
- java.lang.Object
-
- com.alessiodp.core.common.storage.sql.connection.HikariConfiguration
-
- com.alessiodp.core.common.storage.sql.connection.MySQLConnectionFactory
-
- All Implemented Interfaces:
ConnectionFactory
public class MySQLConnectionFactory extends HikariConfiguration
-
-
Field Summary
-
Fields inherited from class com.alessiodp.core.common.storage.sql.connection.HikariConfiguration
additionalParameters, charset, databaseName, maximumPoolSize, maxLifetime, password, poolName, port, serverName, username, useSSL
-
-
Constructor Summary
Constructors Constructor Description MySQLConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageTypegetType()Get the storage type of the connection factoryvoidsetupCredentials(com.zaxxer.hikari.HikariConfig config)voidsetupProperties(com.zaxxer.hikari.HikariConfig config)-
Methods inherited from class com.alessiodp.core.common.storage.sql.connection.HikariConfiguration
init, load, setDatabaseUrl, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.core.common.storage.sql.connection.ConnectionFactory
getJdbi, getTablePrefix, isFailed
-
-
-
-
Method Detail
-
setupCredentials
public void setupCredentials(com.zaxxer.hikari.HikariConfig config)
- Specified by:
setupCredentialsin classHikariConfiguration
-
setupProperties
public void setupProperties(com.zaxxer.hikari.HikariConfig config)
- Specified by:
setupPropertiesin classHikariConfiguration
-
getType
public StorageType getType()
Description copied from interface:ConnectionFactoryGet the storage type of the connection factory- Returns:
- the storage type
-
-