This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git.
from 0da5c54 Use the scale in the var name.
new eb00d5b Add and use java.time.Duration APIs for AbandonedConfig
timeouts instead of using ints as seconds. - Add
AbandonedConfig.getRemoveAbandonedTimeoutDuration() - Add
AbandonedConfig.setRemoveAbandonedTimeout(Duration)
new 650bddc Refactor constant. Remove initialization to default values.
new 35b582c Bullet-proof test tear-down against NPE when an actual test
fails.
new ca34e91 Add and use java.time.Duration APIs for AbandonedConfig
timeouts instead of using ints as seconds. - Add
GenericObjectPool.getRemoveAbandonedTimeoutDuration()
new 91a81e5 Switch internals to java.time.Duration. Add Duration
constants based on existing milliseconds constants.
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 6 +-
src/changes/changes.xml | 11 +-
.../apache/commons/pool2/impl/AbandonedConfig.java | 50 +++++-
.../commons/pool2/impl/BaseGenericObjectPool.java | 81 ++++-----
.../commons/pool2/impl/BaseObjectPoolConfig.java | 184 +++++++++++++--------
.../apache/commons/pool2/impl/EvictionTimer.java | 15 +-
.../commons/pool2/impl/GenericObjectPool.java | 30 +++-
.../pool2/impl/TestAbandonedObjectPool.java | 19 ++-
.../TestConstants.java} | 15 +-
.../pool2/impl/TestDefaultPooledObjectInfo.java | 2 +-
.../commons/pool2/impl/TestEvictionTimer.java | 10 +-
.../pool2/impl/TestGenericKeyedObjectPool.java | 101 ++++++++---
.../commons/pool2/impl/TestGenericObjectPool.java | 10 +-
.../pool2/proxy/BaseTestProxiedObjectPool.java | 5 +-
14 files changed, 349 insertions(+), 190 deletions(-)
copy
src/test/java/org/apache/commons/pool2/{proxy/TestProxiedObjectPoolWithCglibProxy.java
=> impl/TestConstants.java} (75%)