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

Make GenericObjectPool better extensible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 2.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: