[ 
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)

Reply via email to