accumulo-notifications mailing list archives

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


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:
>             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

View raw message