You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by pi...@apache.org on 2018/03/23 16:33:36 UTC
[geode] branch develop updated: GEODE-4910: Modify method
description to mention exception. (#1657)
This is an automated email from the ASF dual-hosted git repository.
pivotalsarge pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 6446d17 GEODE-4910: Modify method description to mention exception. (#1657)
6446d17 is described below
commit 6446d1782f1577204d6063baf04b5128642df6f6
Author: Michael "Sarge" Dodge <md...@pivotal.io>
AuthorDate: Fri Mar 23 09:33:33 2018 -0700
GEODE-4910: Modify method description to mention exception. (#1657)
---
geode-core/src/main/java/org/apache/geode/cache/Region.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/geode-core/src/main/java/org/apache/geode/cache/Region.java b/geode-core/src/main/java/org/apache/geode/cache/Region.java
index 2a6036f..b7d55cc 100644
--- a/geode-core/src/main/java/org/apache/geode/cache/Region.java
+++ b/geode-core/src/main/java/org/apache/geode/cache/Region.java
@@ -699,7 +699,9 @@ public interface Region<K, V> extends ConcurrentMap<K, V> {
V put(K key, V value, Object aCallbackArgument) throws TimeoutException, CacheWriterException;
/**
- * Creates a new entry in this region with the specified key and value.
+ * Creates a new entry in this region with the specified key and value if and only if an entry
+ * does not already exist for the specified key. If an entry already exists for the specified
+ * key, throws {@link EntryExistsException}.
*
* <p>
* Updates the {@link CacheStatistics#getLastAccessedTime} and
--
To stop receiving notification emails like this one, please contact
pivotalsarge@apache.org.