@Internal @ReturnValuesAreNonnullByDefault public class DefaultDatabaseConfigHelper extends Object implements DatabaseConfigHelper
DatabaseConfigHelper
.Constructor and Description |
---|
DefaultDatabaseConfigHelper(com.atlassian.config.db.HibernateConfig hibernateConfig,
DataSourceConfiguration dataSourceConfiguration,
com.atlassian.config.db.DatabaseHelper databaseHelper) |
Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getConnectionPoolSize()
Returns the maximum size of the database connection pool.
|
Optional<String> |
getProductName()
Returns the database product name.
|
public DefaultDatabaseConfigHelper(com.atlassian.config.db.HibernateConfig hibernateConfig, DataSourceConfiguration dataSourceConfiguration, com.atlassian.config.db.DatabaseHelper databaseHelper)
public Optional<Integer> getConnectionPoolSize()
DatabaseConfigHelper
getConnectionPoolSize
in interface DatabaseConfigHelper
public Optional<String> getProductName()
DatabaseConfigHelper
getProductName
in interface DatabaseConfigHelper
Copyright © 2003–2020 Atlassian. All rights reserved.