Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-534

Allow for manual connection eviction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • None

    Description

      Currently the pool only allows you to either immediately evict connections based on min/max values, or evict them when a thread wakes up and kills them.

      The underlying `GenericObjectPool` supports evicting connections immediately without waiting on a schedule. This would support scenarios where a developer may want to keep a large pool of idle connections available for a period of time, but then wants to immediately evict them after a certain part of a program has completed without waiting for a delay.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pwicks Peter Wicks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h