Updated isCopyOnRead documentation
@@ -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() {
