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

Make GenericObjectPool better extensible

    XMLWordPrintableJSON

    Details

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

      Description

      The current implementation of GenericObjectPool encapsulates the _pool
      object and there is no way to get it directly, which makes some things
      like JMX pool monitoring a bit awkward.

      Would it be possible to either make _pool protected or add a method

      protected Collection getInternalPool() {
      return _pool;
      }

      or something like that to the GenericObjectPool implementation (and
      probably others, but that is the one that bites me most... )

      This would make extending the GenericObjectPool much easier.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markt Mark Thomas
                Reporter:
                henning Henning Schmiedehausen
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: