flush() The flush method puts all currently checked out connections on a list to be destroyed when returned and disposes of all current pooled connections.
getBlockingTimeoutMillis() The BlockingTimeoutMillis attribute indicates the maximum time to block while waiting for a connection before throwing an exception.
getCriteria() The Criteria attribute indicates if Subject (from security domain) or app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool.
long
getIdleTimeoutMinutes() The IdleTimeoutMinutes attribute indicates the maximum time a connection may be idle before being closed.
setUseFastFail(boolean useFastFail) Indicate whether or not we want to immeadiately create a new connection when
an attempt to acquire a connection from the pool fails.
The BlockingTimeoutMillis attribute indicates the maximum time to block while waiting for a connection before throwing an exception. Note that this blocks only while waiting for a permit for a connection, and will never throw an exception if creating a new connection takes an inordinately long time.
the BlockingTimeout value.
The Criteria attribute indicates if Subject (from security domain) or app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool. Choices are ByContainerAndApplication (use both), ByContainer (use Subject), ByApplication (use app supplied params only), ByNothing (all connections are equivalent, usually if adapter supports reauthentication)
the Criteria value.
The IdleTimeoutMinutes attribute indicates the maximum time a connection may be idle before being closed. The actual maximum time depends also on the IdleRemover scan time, which is 1/2 the smallest IdleTimeout of any pool.
the IdleTimeoutMinutes value.
ManagedConnectionFactoryName holds the ObjectName of the mbean that represents the ManagedConnectionFactory. Normally this can be an embedded mbean in a depends element rather than a separate mbean reference.
the ManagedConnectionFactoryName value.
ManagedConnectionPool is a read only attribute returning the pool set up by this mbean.
the ManagedConnectionPool implementing the pool configured by this mbean.
The MaxSize attribute indicates the maximum number of connections for a pool. No more than MaxSize connections will be created in each sub-pool.
the MaxSize value.
The MinSize attribute indicates the minimum number of connections this pool should hold. These are not created until a Subject is known from a request for a connection. MinSize connections will be created for each sub-pool.
the MinSize value.
Whether or not we want to immeadiately create a new connection when
an attempt to acquire a connection from the pool fails.
true of false depending upon whether fast fail is being used.
setBackGroundValidation
public void setBackGroundValidation(boolean backgroundValidation)(Code)
Set the background validation
Parameters: backgroundValidation - true or false if background validation is to be enabled
setBackGroundValidationMinutes
public void setBackGroundValidationMinutes(long backgroundValidationInterval)(Code)
Set the background validation in minutes
Parameters: backgroundValidationInterval - the background interval in minutes
Set the prefill
Parameters: prefill - true or false depending upon if prefill is being used
setUseFastFail
public void setUseFastFail(boolean useFastFail)(Code)
Indicate whether or not we want to immeadiately create a new connection when
an attempt to acquire a connection from the pool fails.
Parameters: useFastFail - whether or not we want to use fast fail semantics in a connection attempt.