WebSphere:*,type=ConnectionFactoryMBean ConnectionFactory
Generic management interface for a connection factory.
| Attribute Summary | |
|---|---|
java.lang.Integer | authMechanismPreference |
java.lang.Integer | stuckTimerTimeFrequency of stuck time thread |
java.lang.String | currentActivePoolReturn the pool that is currently being used when using resource adapter failover. |
java.lang.Integer | stuckTimeConnection stuck time. |
java.lang.Integer | stuckThresholdNumber of connections threshold. |
java.lang.Integer | surgeThreshholdConnection creation will be restricted when this number is exceeded by the amount of surge time. |
java.lang.Integer | surgeCreationIntervalA connection will be created every surge time seconds while in surge threshold mode. |
java.lang.Integer | connectionTimeoutInterval, in seconds after which a connection request times out and a ConnectionWaitTimeoutException is thrown |
java.lang.Integer | maxConnectionsThe maximun number of managed connections that can be created in this connection pool |
java.lang.Integer | minConnectionsThe minimum number of managed connection that should be maintained for all cases except if agedTimeout is set. |
java.lang.String | purgePolicySpecifies how to purge the connections when a connection error occurs. |
java.lang.Integer | reapTimeInterval in seconds between runs of the connection pool maintenance thread |
java.lang.Integer | unusedTimeoutInterval in seconds after which an unused connection is discarded by the connection pool maintenance thread |
java.lang.Integer | agedTimeoutInterval in seconds after which an unused aged connection is discarded by the connection pool maintenance thread |
java.lang.Integer | numberOfPoolReservesThe number of reserve pools to utilize |
java.lang.Integer | maxConnectionsInPoolReserveThe maximum number of connections in a reserve pool |
java.lang.Integer | freePoolDistributionTableSizeSpecifies the size of the distribution table used for distributing user data (Subject and CRI). |
java.lang.Integer | freePoolPartitionsSpecifies how many free pool partitions are created |
java.lang.Integer | sharedPoolPartitionsSpecifies how many shared pool partitions are created |
java.lang.Integer | holdTimeLimitFor diagnosticMode 1 and 2 will cause the tracking of connection hold time by an application. |
java.lang.Boolean | populateAlternateResourceDisables and enables populate alternate resource. |
java.lang.Boolean | resourceFailOverDisables and enables resource fail over. |
java.lang.Boolean | resourceFailBackDisables and enables resource fail back. |
| Attributes inherited from MBean J2EEResourceFactory |
|---|
name, Description, jndiName, category |
| Attributes inherited from MBean DiagnosticProvider |
|---|
diagnosticProviderName |
| Operation Summary | |
|---|---|
void | failOverToAlternateResource()Manual fail over to alternate resource. |
void | failOverToAlternateResource(Manual fail over to alternate resource. |
void | failBackToPrimaryResource()Manual fail back to primary resource. |
void | failBackToPrimaryResource(Manual fail back to primary resource. |
java.lang.String | showPoolContents()Returns a listing of the Connections in the ConnectionPool for this Object. |
java.lang.String | showAllPoolContents()Returns a listing of the Connections for All ConnectionPools on the Applcation Server. |
void | purgePoolContents()Purge connection pool. |
void | purgePoolContents(Purge connection pool. |
void | purgePoolContents(Purge connection pool. |
java.lang.String | getPoolContents()Deprecated. As of 6,0, this method is deprecated. |
java.lang.String | getAllPoolContents()Deprecated. As of 6,0, this method is deprecated. |
java.lang.String | showAllocationHandleList()Deprecated. As of 6,1, this method is deprecated. |
void | pause()ConnectionPool for this object will be paused. |
void | resume()ConnectionPool for this obect will resumed. |
java.lang.Integer | getStatus()Lifecycle status: 0=Status request failed; 1=Active; 2=Paused; 3=Stopped; 4=Paused - Mixed: some of the ConnectionFactories, DataSources, and ActivationSpecs are Paused while others are active; 99=Failed |
| Operations inherited from MBean DiagnosticProvider |
|---|
getDiagnosticProviderId, getRegisteredDiagnostics, configDump, stateDump, selfDiagnostic, localize |
| Attribute Detail |
|---|
public java.lang.Integer authMechanismPreferencepublic java.lang.Integer stuckTimerTimepublic java.lang.String currentActivePoolpublic java.lang.Integer stuckTimepublic java.lang.Integer stuckThresholdpublic java.lang.Integer surgeThreshholdpublic java.lang.Integer surgeCreationIntervalpublic java.lang.Integer connectionTimeoutpublic java.lang.Integer maxConnectionspublic java.lang.Integer minConnectionspublic java.lang.String purgePolicypublic java.lang.Integer reapTimepublic java.lang.Integer unusedTimeoutpublic java.lang.Integer agedTimeoutpublic java.lang.Integer numberOfPoolReservespublic java.lang.Integer maxConnectionsInPoolReservepublic java.lang.Integer freePoolDistributionTableSizepublic java.lang.Integer freePoolPartitionspublic java.lang.Integer sharedPoolPartitionspublic java.lang.Integer holdTimeLimitpublic java.lang.Boolean populateAlternateResourcepublic java.lang.Boolean resourceFailOverpublic java.lang.Boolean resourceFailBack| Operation Detail |
|---|
public void failOverToAlternateResource()public void failOverToAlternateResource(java.lang.String action)action -
hold or automated, default is hold without automated failback. public void failBackToPrimaryResource()public void failBackToPrimaryResource(java.lang.String action)action -
automated or hold, default is automated with automated failover. public java.lang.String showPoolContents()public java.lang.String showAllPoolContents()public void purgePoolContents()public void purgePoolContents(java.lang.String action)action -
normal or immediate, default is normalpublic void purgePoolContents(java.lang.Integer numConnectionsToRemain)numConnectionsToRemain -
The number of connections to remain in the pool after the purge.public java.lang.String getPoolContents()public java.lang.String getAllPoolContents()public java.lang.String showAllocationHandleList()public void pause()public void resume()public java.lang.Integer getStatus()