|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface ConnectionPoolConfiguration
This interface describes a configuration for AbstractConnectionPool
instances. Motivation for separating pool configuration into interface is
quite simple, it allows third-party applications to load configuration from
various sources (resource bundle, XML file, etc.).
| Method Summary | |
|---|---|
int |
getBlockingTimeout()
Deprecated. Get time during which ConnectionPoolDataSource.getPooledConnection()
can block. |
int |
getIdleTimeout()
Deprecated. please use getMaxIdleTime() instead. |
int |
getMaxConnections()
Deprecated. please use getMaxPoolSize() instead. |
int |
getMaxIdleTime()
Deprecated. Get time after which idle connections will be deallocated. |
int |
getMaxPoolSize()
Deprecated. Get maximum number of physical connections that can be simultaneously open. |
int |
getMinConnections()
Deprecated. please use getMinPoolSize() instead. |
int |
getMinPoolSize()
Deprecated. Get minimum number of open JDBC connections that will be created when pool is started. |
int |
getPingInterval()
Deprecated. Get time interval after which connection should be pinged. |
java.lang.String |
getPingStatement()
Deprecated. Get SQL statement that will be used to ping connection. |
int |
getRetryInterval()
Deprecated. Get interval of getting connections retries. |
boolean |
isPingable()
Deprecated. Check if this pool supports pingable connections. |
boolean |
isPooling()
Deprecated. Check if this connection pool uses connection pooling, or just implements JDBC 2.0 SE interfaces. |
boolean |
isStatementPooling()
Deprecated. Check if this connection pool provides also prepared statement pooling. |
| Method Detail |
|---|
int getMinConnections()
getMinPoolSize() instead.
int getMinPoolSize()
int getMaxConnections()
getMaxPoolSize() instead.
int getMaxPoolSize()
int getBlockingTimeout()
ConnectionPoolDataSource.getPooledConnection()
can block. By default method blocks forever.
Integer.MAX_VALUE
indicates blocking forever.int getRetryInterval()
int getIdleTimeout()
getMaxIdleTime() instead.
Integer.MAX_VALUE
indicates that idle connections are not removed.int getMaxIdleTime()
Integer.MAX_VALUE
indicates that idle connections are not removed.boolean isPooling()
java.sql.Driver.
true if pooling is enabled.boolean isStatementPooling()
true if prepared statement pooling is enabled.boolean isPingable()
true if this pool supports pingable connections.java.lang.String getPingStatement()
Examples of ping SQL statements:
"SELECT CAST(1 AS INTEGER) FROM DUAL"
"SELECT CAST(1 AS INTEGER) FROM RDB$DATABASE"
int getPingInterval()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||