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

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

    Details

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

      Operating System: Windows XP
      Platform: PC

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: