public interface BBjAdminConnectionPool extends BBjAdminCommitPropertyWriter, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTO_COMMIT |
static java.lang.String |
CONNECT_URL |
static java.lang.String |
DRIVER_CLASS |
static int |
GLOBAL_SCOPE |
static java.lang.String |
MAX_ACTIVE |
static java.lang.String |
MAX_IDLE |
static java.lang.String |
MAX_WAIT |
static java.lang.String |
MIN_EVICTABLE |
static java.lang.String |
NAME |
static java.lang.String |
ORIGINAL_NAME |
static java.lang.String |
READ_ONLY |
static java.lang.String |
SCOPE |
static java.lang.String |
TEST_ON_BORROW |
static java.lang.String |
TEST_ON_RETURN |
static java.lang.String |
TEST_WHILE_IDLE |
static java.lang.String |
TIME_BETWEEN_EVICTION |
static java.lang.String |
TRANSACTION_ISOLATION_LEVEL |
static int |
USER_SCOPE |
static java.lang.String |
VALIDATION_QUERY |
static java.lang.String |
WHEN_EXHAUSTED_ACTION |
static int |
WHEN_EXHAUSTED_BLOCK |
static int |
WHEN_EXHAUSTED_FAIL |
static int |
WHEN_EXHAUSTED_GROW |
Modifier and Type | Method and Description |
---|---|
int |
getActiveCount()
Returns the number of currently active connections checked out of the pool.
|
java.util.Properties |
getConnectProperties() |
BBjAdminList<BBjAdminProperty> |
getDescriptiveProperties()
Used primarily by GUI applications like the Enterprise Manager to dynamically generate
an admin UI.
|
int |
getIdleCount()
Returns the current number of connections that are still opened, sitting in the
pool waiting to be checked out.
|
void |
setConnectProperties(java.util.Properties p_props) |
void |
setDescriptiveProperties(BBjAdminList<BBjAdminProperty> p_descriptiveProps)
Used primarily by GUI applications like the Enterprise Manager to dynamically generate
an admin UI.
|
getChangedProperties, getClearedProperties, getOriginalProperties
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
commit, rollback
static final int GLOBAL_SCOPE
static final int USER_SCOPE
static final int WHEN_EXHAUSTED_FAIL
static final int WHEN_EXHAUSTED_BLOCK
static final int WHEN_EXHAUSTED_GROW
static final java.lang.String NAME
static final java.lang.String ORIGINAL_NAME
static final java.lang.String DRIVER_CLASS
static final java.lang.String MAX_IDLE
static final java.lang.String MAX_ACTIVE
static final java.lang.String MAX_WAIT
static final java.lang.String WHEN_EXHAUSTED_ACTION
static final java.lang.String TEST_ON_BORROW
static final java.lang.String TEST_ON_RETURN
static final java.lang.String TIME_BETWEEN_EVICTION
static final java.lang.String MIN_EVICTABLE
static final java.lang.String TEST_WHILE_IDLE
static final java.lang.String VALIDATION_QUERY
static final java.lang.String SCOPE
static final java.lang.String READ_ONLY
static final java.lang.String AUTO_COMMIT
static final java.lang.String TRANSACTION_ISOLATION_LEVEL
static final java.lang.String CONNECT_URL
java.util.Properties getConnectProperties() throws BBjAdminException
BBjAdminException
void setConnectProperties(java.util.Properties p_props) throws BBjAdminException
BBjAdminException
int getActiveCount() throws BBjAdminException
BBjAdminException
int getIdleCount() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminProperty> getDescriptiveProperties() throws BBjAdminException
BBjAdminException
void setDescriptiveProperties(BBjAdminList<BBjAdminProperty> p_descriptiveProps) throws BBjAdminException
BBjAdminException