[
https://issues.apache.org/jira/browse/POOL-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066875#comment-14066875
]
Anthony Communier commented on POOL-267:
----------------------------------------
You will find attachjed a patch with an implementation of AbandonedListener
with UnitTest
I have added some getter on PoolObject in order to get stack traces (borrow &
usage)
> Use of AbandonListener instead of PrintWriter when a pool object is detected
> in an abandon state
> ------------------------------------------------------------------------------------------------
>
> Key: POOL-267
> URL: https://issues.apache.org/jira/browse/POOL-267
> Project: Commons Pool
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Anthony Communier
>
> I would be great to have a more flexible mecanism for abandon detection.
> Having just a PrintWriter is too restrictive. With an AbandonListener it
> would be possible to make more things like using log API or enabling
> supervision of application.
--
This message was sent by Atlassian JIRA
(v6.2#6252)