ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-333) Need to add clear(key) method to IgniteCache
Date Fri, 13 Mar 2015 08:32:38 GMT

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

Semen Boikov commented on IGNITE-333:

- please change localClear to return void
- let's remove localClear() without parameters
- add test that localClear does not clear entry on remote nodes
- add test that clear removes from swap/offheap
- I don't think we internally need both GlobalClearKeyCallable and GlobalClearKeySetCallable,
let's keep only one
- please fix javadoc: CacheFlag, clear/localClear should have the same javadoc just with note
about local/distributed behaviour

> 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

View raw message