WebSphere:*,type=ConnectionFactory
MBean ConnectionFactory
Generic management interface for a connection factory.
Attribute Summary | |
java.lang.Integer | authMechanismPreference |
java.lang.Integer | stuckTimerTime Frequency of stuck time thread |
java.lang.String | currentActivePool Return the pool that is currently being used when using resource adapter failover. |
java.lang.Integer | stuckTime Connection stuck time. |
java.lang.Integer | stuckThreshold Number of connections threshold. |
java.lang.Integer | surgeThreshhold Connection creation will be restricted when this number is exceeded by the amount of surge time. |
java.lang.Integer | surgeCreationInterval A connection will be created every surge time seconds while in surge threshold mode. |
java.lang.Integer | connectionTimeout Interval, in seconds after which a connection request times out and a ConnectionWaitTimeoutException is thrown |
java.lang.Integer | maxConnections The maximun number of managed connections that can be created in this connection pool |
java.lang.Integer | minConnections The minimum number of managed connection that should be maintained for all cases except if agedTimeout is set. |
java.lang.String | purgePolicy Specifies how to purge the connections when a connection error occurs. |
java.lang.Integer | reapTime Interval in seconds between runs of the connection pool maintenance thread |
java.lang.Integer | unusedTimeout Interval in seconds after which an unused connection is discarded by the connection pool maintenance thread |
java.lang.Integer | agedTimeout Interval in seconds after which an unused aged connection is discarded by the connection pool maintenance thread |
java.lang.Integer | freePoolDistributionTableSize Specifies the size of the distribution table used for distributing user data (Subject and CRI). |
java.lang.Integer | freePoolPartitions Specifies how many free pool partitions are created |
java.lang.Integer | sharedPoolPartitions Specifies how many shared pool partitions are created |
java.lang.Integer | holdTimeLimit For diagnosticMode 1 and 2 will cause the tracking of connection hold time by an application. |
java.lang.Boolean | populateAlternateResource Disables and enables populate alternate resource. |
java.lang.Boolean | resourceFailOver Disables and enables resource fail over. |
java.lang.Boolean | resourceFailBack Disables and enables resource fail back. |
Attributes inherited from MBean J2EEResourceFactory |
name , Description , jndiName , category |
Attributes inherited from MBean DiagnosticProvider |
diagnosticProviderName |
Operation Summary | |
| failOverToAlternateResource() Manual fail over to alternate resource. |
| failOverToAlternateResource( Manual fail over to alternate resource. |
| failBackToPrimaryResource() Manual fail back to primary resource. |
| 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. |
| purgePoolContents() Purge connection pool. |
| 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. |
| pause() ConnectionPool for this object will be paused. |
| 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 authMechanismPreference
public java.lang.Integer stuckTimerTime
public java.lang.String currentActivePool
public java.lang.Integer stuckTime
public java.lang.Integer stuckThreshold
public java.lang.Integer surgeThreshhold
public java.lang.Integer surgeCreationInterval
public java.lang.Integer connectionTimeout
public java.lang.Integer maxConnections
public java.lang.Integer minConnections
public java.lang.String purgePolicy
public java.lang.Integer reapTime
public java.lang.Integer unusedTimeout
public java.lang.Integer agedTimeout
public java.lang.Integer freePoolDistributionTableSize
public java.lang.Integer freePoolPartitions
public java.lang.Integer sharedPoolPartitions
public java.lang.Integer holdTimeLimit
public java.lang.Boolean populateAlternateResource
public java.lang.Boolean resourceFailOver
public java.lang.Boolean resourceFailBack
Operation Detail |
public failOverToAlternateResource()
public failOverToAlternateResource(java.lang.String action
)
action
-
hold or automated, default is hold without automated failback.
public failBackToPrimaryResource()
public 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 purgePoolContents()
public purgePoolContents(java.lang.Integer numConnectionsToRemain
)
numConnectionsToRemain
-
The number of connections to remain in the pool after the purge.
public void purgePoolContents(java.lang.String action
)
action
-
normal or immediate, default is normal
public java.lang.String getPoolContents()
public java.lang.String getAllPoolContents()
public java.lang.String showAllocationHandleList()
public pause()
public resume()
public java.lang.Integer getStatus()