void | close()- Close pool(s) being maintained by this datasource.
|
int | getDefaultMaxActive()- The maximum number of active connections that can be allocated from
this pool at the same time, or zero for no limit.
|
int | getDefaultMaxIdle()- The maximum number of active connections that can remain idle in the
pool, without extra ones being released, or zero for no limit.
|
int | getDefaultMaxWait()- 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.
|
int | getNumActive()- Get the number of active connections in the default pool.
|
int | getNumActive(java.lang.String username, java.lang.String password)- Get the number of active connections in the pool for a given user.
|
int | getNumIdle()- Get the number of idle connections in the default pool.
|
int | getNumIdle(java.lang.String username, java.lang.String password)- Get the number of idle connections in the pool for a given user.
|
Boolean | getPerUserDefaultAutoCommit(java.lang.String key)- The keys are usernames and the value is the --.
|
Boolean | getPerUserDefaultReadOnly(java.lang.String username)- The keys are usernames and the value is the --.
|
Integer | getPerUserDefaultTransactionIsolation(java.lang.String username)- The isolation level of connections when returned from getConnection.
|
Integer | getPerUserMaxActive(java.lang.String username)- The maximum number of active connections that can be allocated from
this pool at the same time, or zero for no limit.
|
Integer | getPerUserMaxIdle(java.lang.String username)- The maximum number of active connections that can remain idle in the
pool, without extra ones being released, or zero for no limit.
|
Integer | getPerUserMaxWait(java.lang.String username)- 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.
|
void | setDefaultMaxActive(int maxActive)- The maximum number of active connections that can be allocated from
this pool at the same time, or zero for no limit.
|
void | setDefaultMaxIdle(int defaultMaxIdle)- The maximum number of active connections that can remain idle in the
pool, without extra ones being released, or zero for no limit.
|
void | setDefaultMaxWait(int defaultMaxWait)- 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.
|
void | setPerUserDefaultAutoCommit(java.lang.String username, java.lang.Boolean value)- The keys are usernames and the value is the --.
|
void | setPerUserDefaultReadOnly(java.lang.String username, java.lang.Boolean value)- The keys are usernames and the value is the --.
|
void | setPerUserDefaultTransactionIsolation(java.lang.String username, java.lang.Integer value)- The isolation level of connections when returned from getConnection.
|
void | setPerUserMaxActive(java.lang.String username, java.lang.Integer value)- The maximum number of active connections that can be allocated from
this pool at the same time, or zero for no limit.
|
void | setPerUserMaxIdle(java.lang.String username, java.lang.Integer value)- The maximum number of active connections that can remain idle in the
pool, without extra ones being released, or zero for no limit.
|
void | setPerUserMaxWait(java.lang.String username, java.lang.Integer value)- 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.
|