Commons Pool
  1. Commons Pool
  2. POOL-78

[pool] maxActive, maxIdle, maxTotal apply to all keys in a GenericKeyedObjectPool

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

      Description

      The documentation implies that the maxActive, maxIdle, and maxTotal values
      apply to each keyed pool independently, so that the maximum number of objects
      that a pool could hold would be number of keys times maxTotal. Unfortunately,
      maxTotal applies to all keys. So, if one key contains maxTotal objects, an
      object must be passivated, before another one can be added to the pool under a
      different key.

        Activity

        Stu Brock created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 39341 12343033
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Project Commons [ 12310458 ] Commons Pool [ 12310488 ]
        Affects Version/s unspecified [ 12311647 ]
        Key COM-2881 POOL-78
        Component/s Pool [ 12311128 ]
        Henri Yandell made changes -
        Bugzilla Id 39341
        Fix Version/s 2.0 [ 12311985 ]
        Phil Steitz made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Stu Brock
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development