[
https://issues.apache.org/jira/browse/BOOKKEEPER-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230373#comment-15230373
]
Enrico Olivelli commented on BOOKKEEPER-880:
--------------------------------------------
This JIRA is only about adding "implements java.lang.AutoCloseable" to
LedgerHandle, that is the "close" will be called when using a
try-with-resources block
{code}
public class LedgerHandle implements AutoCloseable {
...
{code}
same as for BookKeeper class
> Make LedgerHandle implement AutoCloseable
> -----------------------------------------
>
> Key: BOOKKEEPER-880
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-880
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-client
> Affects Versions: 4.3.1
> Reporter: Enrico Olivelli
> Assignee: Enrico Olivelli
> Priority: Trivial
> Fix For: 4.4.0
>
>
> It would be useful for simple clients to have LedgerHandle implement
> AutoCloseable.maybe Bookkeeper class too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)