This type is a class for model objects.
Connection pool properties that can be modified to change the behavior of the J2C connection pool manager. Default values are provided for non-production use. Reviewing and possible modification of these configuration values is recommended.
Package: resourcesAttributes Summary | |
connectionTimeout : ELong | Connection timeout is the interval, in seconds, after which a connection request times out and a ConnectionWaitTimeoutException is thrown. The wait may be necessary if the maximum value of connections to a particular connection pool has been reached (Max Connections) . This value has no meaning if Max Connections is set to 0 (infinite number of ManagedConnections). If Connection Timeout is set to 0 the Pool Manager waits until a connection can be allocated (which happens when the number of connections falls below Max Connections). |
maxConnections : EInt | The maximum number of managed connections that can be created by a particular ManagedConnectionFactory. After this number is reached, no new connections are created and either the requester waits for the Connection Timeout or the ResourceAllocationException is thrown. If Maximum Connections is set to 0 (zero), the number of connections can grow indefinitely. Maximum Connections must be larger than or equal to Minimum Connections. |
minConnections : EInt | The minimum number of managed connections to maintain. If this number is reached, the garbage collector will not discard any managed connections. Note, if the actual number of connections is lower than the value specified by the minimum connections settings, no attempt will be made to increase the number of connections to the minimum. Minimum Connections must be less than or equal to Maximum Connections. |
reapTime : ELong |
Number of seconds between runs of the garbage collector. The garbage collector discards all connections that have been unused for the value specified by the Unused Timeout. To disable the garbage collector, set the reap time to 0 (zero) or set the Unused Timeout to 0 (zero). |
unusedTimeout : ELong | Interval, in seconds, after which an unused connection is discarded by the pool maintenance thread. |
agedTimeout : ELong | Interval, in seconds, after which an unused, aged connection is discarded (regardless of recent usage activity) by the pool maintenance thread. |
purgePolicy : PurgePolicyKind | Whenever a fatal connection error signal is received by the Connection Pool Manager, the Connection Pool Manager needs to either remove just the failing connection or to remove all of the connections in the pool. This Purge Policy setting will determine the action of the Connection Pool Manager. |
numberOfSharedPoolPartitions : EInt | @since 6.0.0 The number of buckets or partitions that are created in each of the shared pools |
numberOfUnsharedPoolPartitions : EInt | @since 6.0.0 The number of buckets or partitions that are created in each of the unshared pools. |
numberOfFreePoolPartitions : EInt | @since 6.0.0 The number of buckets or partitions that are created in each of the free pools. |
freePoolDistributionTableSize : EInt | @since 6.0.0 If there are many incoming requests with varying credentials, this value can help with the distribution of finding a free pool for a connection for that user. Larger values are more common for installations that have many different credentials accessing the resource. Smaller values (0) should be used if the same credentials apply to all incoming requests for the resource. 0=Random Distribution |
surgeThreshold : EInt | @since 6.0.0 Once the number of connections in the pool exceeds this threshold, The rate at which connections are created will be throttled/limited based on the surgeCreationInterval setting. Once the threshold has been reached, the surge creation interval will be applied until the number of connections in the pool drops below the threshold again. Must be less than the max connections setting for this pool and greater than the min connections setting A value of -1 disables surge protection. |
surgeCreationInterval : EInt | @since 6.0.0 The period of time to wait before connections are created again once the surge threshold has been reached. |
testConnection : EBoolean | @since 6.0.0 true or false |
testConnectionInterval : EInt | @since 6.0.0 Interval of the test connection retry thread |
stuckTimerTime : EInt | @since 6.0.0 Frequency of stuck time thread |
stuckTime : EInt | @since 6.0.0 Connection stuck time |
stuckThreshold : EInt | @since 6.0.0 Number of connections threshold |
properties : Property * | @since 6.0.0 A collection of custom settings for the connection pool. |
Attribute Details |