Package com.basis.api.admin
Interface BBjAdminConnectionPool
- All Superinterfaces:
BBjAdminCommitPropertyWriter
,BBjAdminCommitWriter
,BBjAdminPropertyReader
,BBjAdminPropertyWriter
,Remote
,Serializable
References an individual connection pool configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final String
static final String
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of currently active connections checked out of the pool.Used primarily by GUI applications like the Enterprise Manager to dynamically generate an admin UI.int
Returns the current number of connections that are still opened, sitting in the pool waiting to be checked out.void
setConnectProperties
(Properties p_props) void
setDescriptiveProperties
(BBjAdminList<BBjAdminProperty> p_descriptiveProps) Used primarily by GUI applications like the Enterprise Manager to dynamically generate an admin UI.Methods inherited from interface com.basis.api.admin.BBjAdminCommitPropertyWriter
getChangedProperties, getClearedProperties, getOriginalProperties
Methods inherited from interface com.basis.api.admin.BBjAdminCommitWriter
commit, rollback
Methods inherited from interface com.basis.api.admin.BBjAdminPropertyReader
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
Methods inherited from interface com.basis.api.admin.BBjAdminPropertyWriter
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
-
Field Details
-
GLOBAL_SCOPE
static final int GLOBAL_SCOPE- See Also:
-
USER_SCOPE
static final int USER_SCOPE- See Also:
-
WHEN_EXHAUSTED_FAIL
static final int WHEN_EXHAUSTED_FAIL- See Also:
-
WHEN_EXHAUSTED_BLOCK
static final int WHEN_EXHAUSTED_BLOCK- See Also:
-
WHEN_EXHAUSTED_GROW
static final int WHEN_EXHAUSTED_GROW- See Also:
-
NAME
- See Also:
-
ORIGINAL_NAME
- See Also:
-
DRIVER_CLASS
- See Also:
-
MAX_IDLE
- See Also:
-
MAX_ACTIVE
- See Also:
-
MAX_WAIT
- See Also:
-
WHEN_EXHAUSTED_ACTION
- See Also:
-
TEST_ON_BORROW
- See Also:
-
TEST_ON_RETURN
- See Also:
-
TIME_BETWEEN_EVICTION
- See Also:
-
MIN_EVICTABLE
- See Also:
-
TEST_WHILE_IDLE
- See Also:
-
VALIDATION_QUERY
- See Also:
-
SCOPE
- See Also:
-
READ_ONLY
- See Also:
-
AUTO_COMMIT
- See Also:
-
TRANSACTION_ISOLATION_LEVEL
- See Also:
-
CONNECT_URL
- See Also:
-
-
Method Details
-
getConnectProperties
- Throws:
BBjAdminException
-
setConnectProperties
- Throws:
BBjAdminException
-
getActiveCount
Returns the number of currently active connections checked out of the pool.- Throws:
BBjAdminException
-
getIdleCount
Returns the current number of connections that are still opened, sitting in the pool waiting to be checked out.- Throws:
BBjAdminException
-
getDescriptiveProperties
Used primarily by GUI applications like the Enterprise Manager to dynamically generate an admin UI. To get property values for general purposes, you should call the getXXX() methods.- Returns:
- BBjAdminList containing BBjAdminProperty objects for each available property.
- Throws:
BBjAdminException
-
setDescriptiveProperties
void setDescriptiveProperties(BBjAdminList<BBjAdminProperty> p_descriptiveProps) throws BBjAdminException Used primarily by GUI applications like the Enterprise Manager to dynamically generate an admin UI. To set property values for general purposes, you should call the setXXX() methods.- Throws:
BBjAdminException
-