You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dm...@apache.org on 2017/11/02 00:08:55 UTC
ignite git commit: Updated isCopyOnRead documentation
Repository: ignite
Updated Branches:
refs/heads/master 68290b9ee -> 72c79111e
Updated isCopyOnRead documentation
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/72c79111
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/72c79111
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/72c79111
Branch: refs/heads/master
Commit: 72c79111e76adf83c018f6e099add2dff8d8afe2
Parents: 68290b9
Author: Denis Magda <dm...@gridgain.com>
Authored: Wed Nov 1 17:08:51 2017 -0700
Committer: Denis Magda <dm...@gridgain.com>
Committed: Wed Nov 1 17:08:51 2017 -0700
----------------------------------------------------------------------
.../org/apache/ignite/configuration/CacheConfiguration.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/72c79111/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
index e240df8..807c817 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
@@ -1551,10 +1551,14 @@ public class CacheConfiguration<K, V> extends MutableConfiguration<K, V> {
}
/**
- * Gets flag indicating whether copy of of the value stored in cache should be created
- * for cache operation implying return value. Also if this flag is set copies are created for values
+ * Gets the flag indicating whether a copy of the value stored in the on-heap cache
+ * (see {@link #isOnheapCacheEnabled()} should be created for a cache operation return the value.
+ *
+ * Also if this flag is set copies are created for values
* passed to {@link CacheInterceptor} and to {@link CacheEntryProcessor}.
*
+ * If the on-heap cache is disabled then this flag is of no use.
+ *
* @return Copy on read flag.
*/
public boolean isCopyOnRead() {