You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2015/03/12 07:21:38 UTC

[jira] [Commented] (IGNITE-333) Need to add clear(key) method to IgniteCache

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

Semen Boikov commented on IGNITE-333:
-------------------------------------

Need to add these methods (and corresponding tests):
- localClear(K key)
- localClearAll(Set<K> keys)
- clear(K key) (distributes, clears on all nodes)
- clearAll(Set<K> keys) (distributes, clears on all nodes)


> Need to add clear(key) method to IgniteCache
> --------------------------------------------
>
>                 Key: IGNITE-333
>                 URL: https://issues.apache.org/jira/browse/IGNITE-333
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>            Reporter: Dmitriy Setrakyan
>            Assignee: Irina Vasilinets
>             Fix For: sprint-2
>
>
> I think we need to add back the clear(key) methods. I am realizing now that we may have to simply invalidate a key on each node and currently there is no way.
> We should document this method warning users that it is not transactionally consistent, and when it is used, transactional semantics must be guaranteed outside of Ignite.



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