geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil Bawaskar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-1889) Remove duplicate region operations
Date Tue, 13 Sep 2016 23:28:20 GMT

     [ https://issues.apache.org/jira/browse/GEODE-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Swapnil Bawaskar updated GEODE-1889:
------------------------------------
    Description: 
Given that the region interface now implements {{java.util.concurrent.ConcurrentMap}} it now
also has {{putIfAbsent(K key, V value)}} and {{remove(java.lang.Object key}} methods. This
makes the following methods redundant:
{noformat}
create(K key, V value)
destroy(java.lang.Object key)
{noformat}
We should deprecate these operations and then remove them in a subsequent release.

  was:
Given that the region interface now implements {{java.util.concurrent.ConcurrentMap}} it now
also has {{putIfAbsent(K key, V value)}} and {{remove(java.lang.Object key}} methods. This
makes the following methods redundant:
{noformat}
create(K key, V value)
destroy(java.lang.Object key)
invalidate(java.lang.Object key)
{noformat}
We should deprecate these operations and then remove them in a subsequent release.


> Remove duplicate region operations
> ----------------------------------
>
>                 Key: GEODE-1889
>                 URL: https://issues.apache.org/jira/browse/GEODE-1889
>             Project: Geode
>          Issue Type: Bug
>          Components: regions
>            Reporter: Swapnil Bawaskar
>
> Given that the region interface now implements {{java.util.concurrent.ConcurrentMap}}
it now also has {{putIfAbsent(K key, V value)}} and {{remove(java.lang.Object key}} methods.
This makes the following methods redundant:
> {noformat}
> create(K key, V value)
> destroy(java.lang.Object key)
> {noformat}
> We should deprecate these operations and then remove them in a subsequent release.



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

Mime
View raw message