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

GenericKeyedObjectPool: maxTotal limit enhancement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.3
    • None
    • Operating System: All
      Platform: All

    • 27493

    Description

      Patch posted on commons-dev 29-02-2004 by Todd Carmichael
      ==========================================================
      If maxTotal is specified for genericKeyedObjectPool, then clearOldest method
      is called which removes the oldest 15% of the objects from the pool:
      basically the cache now implements an LRU for pruning. At some point it
      would be nice if the percentage was configurable.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dirkv Dirk Verbeeck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: