Skip navigation links
C D G I L O P S 

C

createAlert() - Method in interface org.avaje.datasource.DataSourceAlertFactory
Create a DataSourceAlert for notifications when DataSource down and up are detected.
createPool(String, DataSourceConfig) - Method in interface org.avaje.datasource.DataSourceFactory
Create the DataSourcePool with the given configuration.

D

DataSourceAlert - Interface in org.avaje.datasource
Listener for notifications about the DataSource such as when the DataSource goes down, up or gets close to it's maximum size.
DataSourceAlertFactory - Interface in org.avaje.datasource
Service factory for creating DataSourceAlert implementation.
DataSourceConfig - Class in org.avaje.datasource
Configuration information for a DataSource.
DataSourceConfig() - Constructor for class org.avaje.datasource.DataSourceConfig
 
dataSourceDown(String) - Method in interface org.avaje.datasource.DataSourceAlert
Send an alert to say the dataSource is down.
DataSourceFactory - Interface in org.avaje.datasource
Factory that creates DataSourcePool's.
DataSourcePool - Interface in org.avaje.datasource
DataSource pool API.
DataSourcePoolListener - Interface in org.avaje.datasource
A DataSourcePool listener which allows you to hook on the borrow/return process of getting or returning connections from the pool.
dataSourceUp(String) - Method in interface org.avaje.datasource.DataSourceAlert
Send an alert to say the dataSource is back up.
dataSourceWarning(String, String) - Method in interface org.avaje.datasource.DataSourceAlert
Send an alert to say the dataSource is getting close to its max size.

G

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.

I

isAutoCommit() - Method in class org.avaje.datasource.DataSourceConfig
Return autoCommit setting.
isAutoCommit() - Method in interface org.avaje.datasource.DataSourcePool
Return true if the pool defaults to using autocommit.
isCaptureStackTrace() - Method in class org.avaje.datasource.DataSourceConfig
Return true if a stack trace should be captured when obtaining a connection from the pool.
isEmpty() - Method in class org.avaje.datasource.DataSourceConfig
Return true if there are no values set for any of url, driver, username and password.
isOffline() - Method in class org.avaje.datasource.DataSourceConfig
Return true if the DataSource should be left offline.
isReadOnly() - Method in class org.avaje.datasource.DataSourceConfig
Return the read only setting.

L

loadSettings(Properties, String) - Method in class org.avaje.datasource.DataSourceConfig
Load the settings from the properties supplied.

O

onAfterBorrowConnection(Connection) - Method in interface org.avaje.datasource.DataSourcePoolListener
Called after a connection has been retrieved from the connection pool
onBeforeReturnConnection(Connection) - Method in interface org.avaje.datasource.DataSourcePoolListener
Called before a connection will be put back to the connection pool
org.avaje.datasource - package org.avaje.datasource
 

P

PoolStatistics - Interface in org.avaje.datasource
Execution statistics from the DataSourcePool.
PoolStatus - Interface in org.avaje.datasource
Current status of the DataSourcePool.

S

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.
C D G I L O P S 
Skip navigation links

Copyright © 2018. All rights reserved.