commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Wicks (JIRA)" <>
Subject [jira] [Created] (DBCP-534) Allow for manual connection eviction
Date Thu, 10 Jan 2019 15:21:00 GMT
Peter Wicks created DBCP-534:

             Summary: Allow for manual connection eviction
                 Key: DBCP-534
             Project: Commons DBCP
          Issue Type: Improvement
            Reporter: Peter Wicks

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.

This message was sent by Atlassian JIRA

View raw message