- getAlert() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the alert implementation to use.
- getAvgMicros() - Method in interface org.avaje.datasource.PoolStatistics
-
Return the average connection use in micros.
- getBusy() - Method in interface org.avaje.datasource.PoolStatus
-
Return number of busy connections.
- getCollectionStart() - Method in interface org.avaje.datasource.PoolStatistics
-
Return the epoch millis when these statistics start from.
- getCount() - Method in interface org.avaje.datasource.PoolStatistics
-
Return the hit count against the pool.
- getCstmtCacheSize() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the size of the CallableStatement cache (per connection).
- getCustomProperties() - Method in class org.avaje.datasource.DataSourceConfig
-
Return a map of custom properties for the jdbc driver connection.
- getDriver() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the database driver.
- getErrorCount() - Method in interface org.avaje.datasource.PoolStatistics
-
Return the error count against the pool.
- getFree() - Method in interface org.avaje.datasource.PoolStatus
-
Return number of free connections.
- getHeartbeatFreqSecs() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the heartbeat frequency in seconds.
- getHeartbeatSql() - Method in class org.avaje.datasource.DataSourceConfig
-
Return a SQL statement used to test the database is accessible.
- getHeartbeatTimeoutSeconds() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the heart beat timeout in seconds.
- getHighWaterMark() - Method in interface org.avaje.datasource.PoolStatus
-
Return the busy connection high water mark.
- getHitCount() - Method in interface org.avaje.datasource.PoolStatus
-
Return the hit count against the pool.
- getHwmMicros() - Method in interface org.avaje.datasource.PoolStatistics
-
Return the high water mark for connection use in micros.
- getIsolationLevel() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the transaction isolation level.
- getLeakTimeMinutes() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the time in minutes after which a connection could be considered to
have leaked.
- getListener() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the listener to use.
- getMaxAgeMinutes() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the maximum age a connection is allowed to be before it is closed.
- getMaxConnections() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the maximum number of connections the pool can reach.
- getMaxInactiveTimeSecs() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the time in seconds a connection can be idle after which it can be
trimmed from the pool.
- getMaxSize() - Method in interface org.avaje.datasource.PoolStatus
-
Return the pools maximum size.
- getMaxStackTraceSize() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the max size for reporting stack traces on busy connections.
- getMinConnections() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the minimum number of connections the pool should maintain.
- getMinSize() - Method in interface org.avaje.datasource.PoolStatus
-
Return the pools minimum size.
- getName() - Method in interface org.avaje.datasource.DataSourcePool
-
Return the dataSource name.
- getPassword() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the database password.
- getPoolListener() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the pool listener.
- getPstmtCacheSize() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the size of the PreparedStatement cache (per connection).
- getStatistics(boolean) - Method in interface org.avaje.datasource.DataSourcePool
-
Return the aggregated execution statistics collected on all the connections in the pool.
- getStatus(boolean) - Method in interface org.avaje.datasource.DataSourcePool
-
Return the current status of the connection pool.
- getTotalMicros() - Method in interface org.avaje.datasource.PoolStatistics
-
Return the total connection use in micros.
- getTrimPoolFreqSecs() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the minimum time gap between pool trim checks.
- getUrl() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the connection URL.
- getUsername() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the database username.
- getWaitCount() - Method in interface org.avaje.datasource.PoolStatus
-
Return the number of times threads had to wait for connections.
- getWaiting() - Method in interface org.avaje.datasource.PoolStatus
-
Return the number of threads waiting for connections.
- getWaitTimeoutMillis() - Method in class org.avaje.datasource.DataSourceConfig
-
Return the time in millis to wait for a connection before timing out once
the pool has reached its maximum size.
- setAlert(DataSourceAlert) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the alert implementation to use.
- setAutoCommit(boolean) - Method in class org.avaje.datasource.DataSourceConfig
-
Set to true to turn on autoCommit.
- setCaptureStackTrace(boolean) - Method in class org.avaje.datasource.DataSourceConfig
-
Set to true if a stack trace should be captured when obtaining a connection
from the pool.
- setCstmtCacheSize(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the size of the CallableStatement cache (per connection).
- setCustomProperties(Map<String, String>) - Method in class org.avaje.datasource.DataSourceConfig
-
Set custom properties for the jdbc driver connection.
- setDefaults(DataSourceConfig) - Method in class org.avaje.datasource.DataSourceConfig
-
Default the values for driver, url, username and password from another config if
they have not been set.
- setDriver(String) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the database driver.
- setHeartbeatFreqSecs(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the expected heartbeat frequency in seconds.
- setHeartbeatSql(String) - Method in class org.avaje.datasource.DataSourceConfig
-
Set a SQL statement used to test the database is accessible.
- setHeartbeatTimeoutSeconds(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the heart beat timeout in seconds.
- setIsolationLevel(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the transaction isolation level.
- setLeakTimeMinutes(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the time in minutes after which a connection could be considered to
have leaked.
- setListener(DataSourcePoolListener) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the listener to use.
- setMaxAgeMinutes(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the maximum age a connection can be in minutes.
- setMaxConnections(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the maximum number of connections the pool can reach.
- setMaxInactiveTimeSecs(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the time in seconds a connection can be idle after which it can be
trimmed from the pool.
- setMaxStackTraceSize(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the max size for reporting stack traces on busy connections.
- setMinConnections(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the minimum number of connections the pool should maintain.
- setOffline(boolean) - Method in class org.avaje.datasource.DataSourceConfig
-
Set to true if the DataSource should be left offline.
- setPassword(String) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the database password.
- setPoolListener(String) - Method in class org.avaje.datasource.DataSourceConfig
-
Set a pool listener.
- setPstmtCacheSize(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the size of the PreparedStatement cache (per connection).
- setReadOnly(boolean) - Method in class org.avaje.datasource.DataSourceConfig
-
Set to true to for read only.
- setTrimPoolFreqSecs(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the minimum trim gap between pool trim checks.
- setUrl(String) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the connection URL.
- setUsername(String) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the database username.
- setWaitTimeoutMillis(int) - Method in class org.avaje.datasource.DataSourceConfig
-
Set the time in millis to wait for a connection before timing out once the
pool has reached its maximum size.
- shutdown(boolean) - Method in interface org.avaje.datasource.DataSourcePool
-
Shutdown the pool with the option to deregister the driver.