DataSourceConfig |
DataSourceConfig.addProperty(String key,
boolean value) |
Add an additional driver property.
|
DataSourceConfig |
DataSourceConfig.addProperty(String key,
int value) |
Add an additional driver property.
|
DataSourceConfig |
DataSourceConfig.addProperty(String key,
String value) |
Add an additional driver property.
|
DataSourceConfig |
DataSourceConfig.copy() |
Return a copy of the DataSourceConfig.
|
DataSourceConfig |
DataSourceConfig.loadSettings(Properties properties,
String serverName) |
Load the settings from the properties supplied.
|
DataSourceConfig |
DataSourceConfig.setAlert(DataSourceAlert alert) |
Set the alert implementation to use.
|
DataSourceConfig |
DataSourceConfig.setAutoCommit(boolean autoCommit) |
Set to true to turn on autoCommit.
|
DataSourceConfig |
DataSourceConfig.setCaptureStackTrace(boolean captureStackTrace) |
Set to true if a stack trace should be captured when obtaining a connection
from the pool.
|
DataSourceConfig |
DataSourceConfig.setCstmtCacheSize(int cstmtCacheSize) |
Set the size of the CallableStatement cache (per connection).
|
DataSourceConfig |
DataSourceConfig.setCustomProperties(Map<String,String> customProperties) |
Set custom properties for the jdbc driver connection.
|
DataSourceConfig |
DataSourceConfig.setDefaults(DataSourceConfig other) |
Default the values for driver, url, username and password from another config if
they have not been set.
|
DataSourceConfig |
DataSourceConfig.setDriver(String driver) |
Set the database driver.
|
DataSourceConfig |
DataSourceConfig.setFailOnStart(boolean failOnStart) |
Set to false, if DataSource should not fail on start.
|
DataSourceConfig |
DataSourceConfig.setHeartbeatFreqSecs(int heartbeatFreqSecs) |
Set the expected heartbeat frequency in seconds.
|
DataSourceConfig |
DataSourceConfig.setHeartbeatSql(String heartbeatSql) |
Set a SQL statement used to test the database is accessible.
|
DataSourceConfig |
DataSourceConfig.setHeartbeatTimeoutSeconds(int heartbeatTimeoutSeconds) |
Set the heart beat timeout in seconds.
|
DataSourceConfig |
DataSourceConfig.setInitDatabase(InitDatabase initDatabase) |
Set the InitDatabase to use with ownerUsername.
|
DataSourceConfig |
DataSourceConfig.setInitDatabaseForPlatform(String platform) |
Set InitDatabase based on the database platform.
|
DataSourceConfig |
DataSourceConfig.setInitSql(List<String> initSql) |
Set custom init queries for each query.
|
DataSourceConfig |
DataSourceConfig.setIsolationLevel(int isolationLevel) |
Set the transaction isolation level.
|
DataSourceConfig |
DataSourceConfig.setLeakTimeMinutes(int leakTimeMinutes) |
Set the time in minutes after which a connection could be considered to
have leaked.
|
DataSourceConfig |
DataSourceConfig.setListener(DataSourcePoolListener listener) |
Set the listener to use.
|
DataSourceConfig |
DataSourceConfig.setMaxAgeMinutes(int maxAgeMinutes) |
Set the maximum age a connection can be in minutes.
|
DataSourceConfig |
DataSourceConfig.setMaxConnections(int maxConnections) |
Set the maximum number of connections the pool can reach.
|
DataSourceConfig |
DataSourceConfig.setMaxInactiveTimeSecs(int maxInactiveTimeSecs) |
Set the time in seconds a connection can be idle after which it can be
trimmed from the pool.
|
DataSourceConfig |
DataSourceConfig.setMaxStackTraceSize(int maxStackTraceSize) |
Set the max size for reporting stack traces on busy connections.
|
DataSourceConfig |
DataSourceConfig.setMinConnections(int minConnections) |
Set the minimum number of connections the pool should maintain.
|
DataSourceConfig |
DataSourceConfig.setOffline(boolean offline) |
Set to true if the DataSource should be left offline.
|
DataSourceConfig |
DataSourceConfig.setOwnerPassword(String ownerPassword) |
Set the database owner password (used to create connection for use with InitDatabase).
|
DataSourceConfig |
DataSourceConfig.setOwnerUsername(String ownerUsername) |
Set the database owner username (used to create connection for use with InitDatabase).
|
DataSourceConfig |
DataSourceConfig.setPassword(String password) |
Set the database password.
|
DataSourceConfig |
DataSourceConfig.setPlatform(String platform) |
Set the database platform (for use with ownerUsername and InitDatabase.
|
DataSourceConfig |
DataSourceConfig.setPoolListener(String poolListener) |
Set a pool listener.
|
DataSourceConfig |
DataSourceConfig.setPstmtCacheSize(int pstmtCacheSize) |
Set the size of the PreparedStatement cache (per connection).
|
DataSourceConfig |
DataSourceConfig.setReadOnly(boolean readOnly) |
Set to true to for read only.
|
DataSourceConfig |
DataSourceConfig.setReadOnlyUrl(String readOnlyUrl) |
Set the connection URL to use for a matching read-only connection pool.
|
DataSourceConfig |
DataSourceConfig.setSchema(String schema) |
Set the default database schema to use.
|
DataSourceConfig |
DataSourceConfig.setTrimPoolFreqSecs(int trimPoolFreqSecs) |
Set the minimum trim gap between pool trim checks.
|
DataSourceConfig |
DataSourceConfig.setUrl(String url) |
Set the connection URL.
|
DataSourceConfig |
DataSourceConfig.setUsername(String username) |
Set the database username.
|
DataSourceConfig |
DataSourceConfig.setWaitTimeoutMillis(int waitTimeoutMillis) |
Set the time in millis to wait for a connection before timing out once the
pool has reached its maximum size.
|