- setAdditionalProperties(Map<String, String>) - Method in class org.beiter.michael.db.ConnectionProperties
-
Any additional properties which have not been parsed, and for which no getter/setter exists, but are to be
stored in this object nevertheless.
- setCacheState(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
If true
, the pooled connection will cache the current readOnly
and
autoCommit
settings when first read or written and on all subsequent writes.
- setDefaultAutoCommit(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
The default auto-commit state of connections created by the pool.
- setDefaultReadOnly(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
The default read-only state of connections created by the pool.
- setDefaultTransactionIsolation(int) - Method in class org.beiter.michael.db.ConnectionProperties
-
The default TransactionIsolation state of connections created by this pool.
- setDriver(String) - Method in class org.beiter.michael.db.ConnectionProperties
-
The JDBC database driver class
- setLifo(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
True
means that the pool returns the most recently used ("last in") connection in the pool (if
there are idle connections available).
- setMaxConnLifetimeMillis(long) - Method in class org.beiter.michael.db.ConnectionProperties
-
The maximum lifetime in milliseconds of a connection.
- setMaxIdle(int) - Method in class org.beiter.michael.db.ConnectionProperties
-
The maximum number of connections that can remain idle in the pool, without extra ones being released, or
negative for no limit.
- setMaxTotal(int) - Method in class org.beiter.michael.db.ConnectionProperties
-
The maximum number of active connections that can be allocated from this pool at the same time, or negative
for no limit.
- setMaxWaitMillis(long) - Method in class org.beiter.michael.db.ConnectionProperties
-
The maximum number of milliseconds that the pool will wait (when there are no available connections) for a
connection to be returned before throwing an exception, or -1 to wait indefinitely.
- setMinEvictableIdleTimeMillis(long) - Method in class org.beiter.michael.db.ConnectionProperties
-
The minimum amount of time an object may sit idle in the pool before it is eligable for eviction by the idle
object evictor (if any).
- setMinIdle(int) - Method in class org.beiter.michael.db.ConnectionProperties
-
The minimum number of connections that can remain idle in the pool, without extra ones being created, or zero
to create none.
- setNumTestsPerEvictionRun(int) - Method in class org.beiter.michael.db.ConnectionProperties
-
The number of objects to examine during each run of the idle object evictor thread (if any).
- setPassword(String) - Method in class org.beiter.michael.db.ConnectionProperties
-
The password for the connection
- setSoftMinEvictableIdleTimeMillis(long) - Method in class org.beiter.michael.db.ConnectionProperties
-
The minimum amount of time a connection may sit idle in the pool before it is eligible for eviction by the idle
connection evictor, with the extra condition that at least "minIdle
" connections remain in the pool.
- setTestOnBorrow(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
The indication of whether objects will be validated before being borrowed from the pool.
- setTestOnCreate(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
The indication of whether objects will be validated after creation.
- setTestOnReturn(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
The indication of whether objects will be validated before being returned to the pool.
- setTestWhileIdle(boolean) - Method in class org.beiter.michael.db.ConnectionProperties
-
The indication of whether objects will be validated by the idle object evictor (if any).
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.beiter.michael.db.ConnectionProperties
-
The number of milliseconds to sleep between runs of the idle object evictor thread.
- setUrl(String) - Method in class org.beiter.michael.db.ConnectionProperties
-
The JDBC database URL of the form jdbc:subprotocol:subname
- setUsername(String) - Method in class org.beiter.michael.db.ConnectionProperties
-
The username for the connection
- setValidationQuery(String) - Method in class org.beiter.michael.db.ConnectionProperties
-
The SQL query that will be used to validate connections from the pool before returning them to the caller.