accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1280) Add close method to iterators
Date Fri, 13 Mar 2015 16:21:39 GMT

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

Billie Rinaldi commented on ACCUMULO-1280:
------------------------------------------

To support closing with the existing interface, we could call close on iterators if they are
instances of Closeable (or AutoCloseable).

> Add close method to iterators
> -----------------------------
>
>                 Key: ACCUMULO-1280
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1280
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Keith Turner
>
> It would be useful if Accumulo iterators had a close method.  Accumulo would call this
when its finished using the iterator stack.
> How would this work w/ isolation?
> Is it ok to break the iterator API?



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

Mime
View raw message