You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2021/10/22 13:02:08 UTC

[ignite] branch ignite-2.12 updated: IGNITE-15756 CacheMode#LOCAL deprecated for removal (#9515)

This is an automated email from the ASF dual-hosted git repository.

nizhikov pushed a commit to branch ignite-2.12
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-2.12 by this push:
     new 24bf05a  IGNITE-15756 CacheMode#LOCAL deprecated for removal (#9515)
24bf05a is described below

commit 24bf05af6b968c5c1120e69b210a2555bdeff1ab
Author: Nikolay <ni...@apache.org>
AuthorDate: Fri Oct 22 15:59:30 2021 +0300

    IGNITE-15756 CacheMode#LOCAL deprecated for removal (#9515)
---
 modules/core/src/main/java/org/apache/ignite/cache/CacheMode.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheMode.java b/modules/core/src/main/java/org/apache/ignite/cache/CacheMode.java
index b723b6c..5a82b25 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/CacheMode.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheMode.java
@@ -35,7 +35,11 @@ public enum CacheMode {
      * querying, etc... This mode is very useful when caching read-only data
      * or data that automatically expires at a certain interval and
      * then automatically reloaded from persistence store.
+     *
+     * @deprecated Use {@link #REPLICATED} or {@link #PARTITIONED} modes instead.
+     * Please, be aware this API will be removed in the next releases.
      */
+    @Deprecated
     LOCAL,
 
     /**