ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Kalashnikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3585) CPP: Rework methods that accept containers so any container could be used with them.
Date Mon, 03 Apr 2017 10:13:41 GMT

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

Sergey Kalashnikov commented on IGNITE-3585:
--------------------------------------------

[~isapego], I'm fine with the changes as well.

> CPP: Rework methods that accept containers so any container could be used with them.
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-3585
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3585
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>    Affects Versions: 1.6
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>              Labels: cpp
>             Fix For: 2.0
>
>
> There are methods that could possibly be used with any container but by some reason they
only accept arguments of a single specific container type. It can be non convenient for user
and bad from the performance point of view if user uses other container type to store values.
Consider using iterators (preferably) or template type for the container.
> Methods of interest:
> - {{QueryCursor::GetAll}}
> - {{Cache::ContainsKeys}}
> - {{Cache::GetAll}}
> - {{Cache::PutAll}}
> - {{Cache::LocalEvict}}
> - {{Cache::ClearAll}}
> - {{Cache::LocalClearAll}}
> - {{Cache::RemoveAll}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message