You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2017/09/18 23:41:46 UTC
[geode] 01/02: GEODE-2719: Deprecated setTotalMaxMemory and
getTotalMaxMemory and updated their javadocs.
This is an automated email from the ASF dual-hosted git repository.
dschneider pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
commit a615ddd46f599a48d6e02cbee4c43366896ba5f4
Author: Amey Barve <ab...@apache.org>
AuthorDate: Thu Aug 31 15:38:08 2017 +0530
GEODE-2719: Deprecated setTotalMaxMemory and getTotalMaxMemory and
updated their javadocs.
---
.../src/main/java/org/apache/geode/cache/PartitionAttributes.java | 3 +++
.../main/java/org/apache/geode/cache/PartitionAttributesFactory.java | 3 +++
2 files changed, 6 insertions(+)
diff --git a/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributes.java b/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributes.java
index 1c9d6a0..68b881c 100644
--- a/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributes.java
+++ b/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributes.java
@@ -79,7 +79,10 @@ public interface PartitionAttributes<K, V> {
* Integer.MAX_VALUE.
*
* @return maximum size of the partitioned region, in megabytes
+ *
+ * @deprecated since Geode 1.2.2
*/
+ @Deprecated
public long getTotalMaxMemory();
/**
diff --git a/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributesFactory.java b/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributesFactory.java
index a86bdf0..755e0d8 100644
--- a/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributesFactory.java
+++ b/geode-core/src/main/java/org/apache/geode/cache/PartitionAttributesFactory.java
@@ -193,7 +193,10 @@ public class PartitionAttributesFactory<K, V> {
* <p>
* <em>This setting must be the same in all processes using the Region.</em> The default value is
* Integer.MAX_VALUE.
+ *
+ * @deprecated since Geode 1.2.2
*/
+ @Deprecated
public PartitionAttributesFactory<K, V> setTotalMaxMemory(long mb) {
this.partitionAttributes.setTotalMaxMemory(mb);
return this;
--
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <co...@geode.apache.org>.