accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2026) Consider implementing Closeable
Date Mon, 06 Apr 2015 18:00:12 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481508#comment-14481508
] 

Christopher Tubbs commented on ACCUMULO-2026:
---------------------------------------------

The investigation into this should consider implementing AutoCloseable (which is useful with
try-with-resources), vs. Closeable (which is targeted towards streams).

> Consider implementing Closeable
> -------------------------------
>
>                 Key: ACCUMULO-2026
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2026
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Bill Havanki
>            Assignee: Bill Havanki
>             Fix For: 1.8.0
>
>
> ACCUMULO-2010 removed the implementation of {{Closeable}} by {{Instance}}, {{ZooCache}},
and {{ZooReader}} introduced in ACCUMULO-1984. This issue is to consider whether these classes,
and perhaps other key ones that provide a public {{close()}} method, should implement {{Closeable}},
and, if so, to add the changes such that relevant class instances are indeed closed correctly,
avoiding warnings at build time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message