Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-78

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0
    • None
    • Operating System: Windows XP
      Platform: PC

    • 39341

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stuart_brock@adp.com Stu Brock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: