Index
All Classes and Interfaces|All Packages
C
- closeBusyConnections(long) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Close any busy connections that have not been used for some time.
- ConnectionPool - Class in io.ebean.datasource.pool
-
A robust DataSource implementation.
- ConnectionPool(String, DataSourceConfig) - Constructor for class io.ebean.datasource.pool.ConnectionPool
- ConnectionPoolFactory - Class in io.ebean.datasource.pool
-
DataSourceFactory implementation that is service loaded.
- ConnectionPoolFactory() - Constructor for class io.ebean.datasource.pool.ConnectionPoolFactory
- createPool(String, DataSourceConfig) - Method in class io.ebean.datasource.pool.ConnectionPoolFactory
- createUnpooledConnection() - Method in class io.ebean.datasource.pool.ConnectionPool
- createUnpooledConnection(String, String) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Create an un-pooled connection with the given username and password.
D
- dec() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Decrement the current pool size.
- dumpBusyConnectionInformation() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Dumps the busy connection information to the logs.
G
- getBusyConnectionInformation() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Returns information describing connections that are currently being used.
- getConnection() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return a pooled connection.
- getConnection(String, String) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Create an un-pooled connection with the given username and password.
- getDataSourceDownReason() - Method in class io.ebean.datasource.pool.ConnectionPool
- getLeakTimeMinutes() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the number of minutes after which a busy connection could be considered leaked from the connection pool.
- getLoginTimeout() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Not implemented and shouldn't be used.
- getLogWriter() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Returns null.
- getMaxAgeMillis() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the maximum age a connection is allowed to be before it is trimmed out of the pool.
- getMaxInactiveMillis() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the time after which inactive connections are trimmed.
- getMaxSize() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the max size this pool can grow to.
- getMinSize() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the min size this pool should maintain.
- getName() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the dataSource name.
- getParentLogger() - Method in class io.ebean.datasource.pool.ConnectionPool
- getPstmtCacheSize() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the preparedStatement cache size.
- getStatus(boolean) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the current status of the connection pool.
- getWaitTimeoutMillis() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the time in millis that threads will wait when the pool has hit the max size.
- getWarningSize() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the warning size.
I
- inc() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Increment the current pool size.
- io.ebean.datasource - module io.ebean.datasource
- io.ebean.datasource.pool - package io.ebean.datasource.pool
-
Enhanced JDBC objects and connection pool.
- isAutoCommit() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return the default autoCommit setting for the pool.
- isCaptureStackTrace() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Return true if the connection pool is currently capturing the StackTrace when connections are 'got' from the pool.
- isDataSourceUp() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Returns false when the dataSource is down.
- isOnline() - Method in class io.ebean.datasource.pool.ConnectionPool
- isWrapperFor(Class<?>) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Returns false.
O
- offline() - Method in class io.ebean.datasource.pool.ConnectionPool
- online() - Method in class io.ebean.datasource.pool.ConnectionPool
R
- reset() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Close all the connections in the pool.
S
- setCaptureStackTrace(boolean) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Set this to true means that the StackElements are captured every time a connection is retrieved from the pool.
- setLeakTimeMinutes(long) - Method in class io.ebean.datasource.pool.ConnectionPool
-
For detecting and closing leaked connections.
- setLoginTimeout(int) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Not implemented and shouldn't be used.
- setLogWriter(PrintWriter) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Not implemented.
- setMaxSize(int) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Set a new maximum size.
- setMinSize(int) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Set the min size this pool should maintain.
- setPstmtCacheSize(int) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Set the preparedStatement cache size.
- setWarningSize(int) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Set a new maximum size.
- shutdown() - Method in class io.ebean.datasource.pool.ConnectionPool
-
This will close all the free connections, and then go into a wait loop, waiting for the busy connections to be freed.
- size() - Method in class io.ebean.datasource.pool.ConnectionPool
T
- testAlert() - Method in class io.ebean.datasource.pool.ConnectionPool
-
Send a message to the DataSourceAlertListener to test it.
U
- unwrap(Class<T>) - Method in class io.ebean.datasource.pool.ConnectionPool
-
Not Implemented.
All Classes and Interfaces|All Packages