SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.addOption(String name,
String value) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setAcquireRetry(int acquireRetry) |
Sets the number of retries if the first connection acquire attempt fails.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setConnectTimeout(Duration connectTimeout) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setDatabase(String database) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setHost(String host) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setInitialSize(int initialSize) |
Sets the initial pool size.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setMaxAcquireTime(Duration maxAcquireTime) |
Sets the maximum time to acquire connection from pool.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setMaxCreateConnectionTime(Duration maxCreateConnectionTime) |
Sets the maximum time to create a new connection.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setMaxIdleTime(Duration maxIdleTime) |
Sets the maximum idle time of the connection in the pool.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setMaxLifeTime(Duration maxLifeTime) |
Sets the maximum lifetime of the connection in the pool.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setMaxSize(int maxSize) |
Sets the maximum pool size.
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setPassword(CharSequence password) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setPort(int port) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setUser(String user) |
|
SQLPooledDatabaseConfig |
SQLPooledDatabaseConfig.setValidationQuery(String validationQuery) |
Sets the query that will be executed just before a connection is given to you from the pool to validate that the
connection to the database is still alive.
|