You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2020/08/11 17:43:00 UTC
[jira] [Commented] (IGNITE-13352) ScanQueryIterator needs closing
or resources will leak
[ https://issues.apache.org/jira/browse/IGNITE-13352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175744#comment-17175744 ]
Andrey Mashenkov commented on IGNITE-13352:
-------------------------------------------
[~ilyak], would you mind to introduce ClosableIterator interface as a mix of Closable and Iterable to public API instead.
> ScanQueryIterator needs closing or resources will leak
> ------------------------------------------------------
>
> Key: IGNITE-13352
> URL: https://issues.apache.org/jira/browse/IGNITE-13352
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Affects Versions: 2.8.1
> Reporter: Ilya Kasnacheev
> Priority: Major
>
> Let's document it in javadoc.
> Let's override IgniteCache.iterator() and declare it to return GridCloseableIterator
> which should be moved (copied?) from internal package to public API.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)