Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D487A200B92 for ; Wed, 14 Sep 2016 01:28:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D32EB160AD3; Tue, 13 Sep 2016 23:28:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 24B23160AD2 for ; Wed, 14 Sep 2016 01:28:24 +0200 (CEST) Received: (qmail 31455 invoked by uid 500); 13 Sep 2016 23:28:24 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 31446 invoked by uid 99); 13 Sep 2016 23:28:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 23:28:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EE154C06E9 for ; Tue, 13 Sep 2016 23:28:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id HxLWqWr73WDw for ; Tue, 13 Sep 2016 23:28:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 4A10F5F30B for ; Tue, 13 Sep 2016 23:28:21 +0000 (UTC) Received: (qmail 30916 invoked by uid 99); 13 Sep 2016 23:28:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 23:28:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7070F2C014C for ; Tue, 13 Sep 2016 23:28:20 +0000 (UTC) Date: Tue, 13 Sep 2016 23:28:20 +0000 (UTC) From: "Swapnil Bawaskar (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GEODE-1889) Remove duplicate region operations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 23:28:26 -0000 [ 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)