ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [10/42] incubator-ignite git commit: #ignite-629: remove Client Flags
Date Tue, 31 Mar 2015 14:34:46 GMT
#ignite-629: remove Client Flags


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/be6a1614
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/be6a1614
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/be6a1614

Branch: refs/heads/ignite-sprint-3
Commit: be6a16140f6c56beee5fc5c82d95beb26936a3a2
Parents: 520eef1
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Mar 27 17:53:30 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Mar 27 17:53:30 2015 +0300

----------------------------------------------------------------------
 .../internal/client/impl/ClientCacheFlagsCodecTest.java   |  2 --
 .../ignite/internal/client/GridClientCacheFlag.java       | 10 ----------
 .../client/impl/connection/GridClientConnection.java      |  6 ------
 3 files changed, 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/be6a1614/modules/clients/src/test/java/org/apache/ignite/internal/client/impl/ClientCacheFlagsCodecTest.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/client/impl/ClientCacheFlagsCodecTest.java
b/modules/clients/src/test/java/org/apache/ignite/internal/client/impl/ClientCacheFlagsCodecTest.java
index 8a2ff25..1117cd6 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/client/impl/ClientCacheFlagsCodecTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/client/impl/ClientCacheFlagsCodecTest.java
@@ -59,8 +59,6 @@ public class ClientCacheFlagsCodecTest extends TestCase {
         doTestGroup(GridClientCacheFlag.values());
         // none
         doTestGroup();
-        // some
-        doTestGroup(GridClientCacheFlag.INVALIDATE);
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/be6a1614/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientCacheFlag.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientCacheFlag.java
b/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientCacheFlag.java
index 0f6f076..a49e506 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientCacheFlag.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/client/GridClientCacheFlag.java
@@ -29,16 +29,6 @@ public enum GridClientCacheFlag {
     /** Skip swap space for reads and writes. */
     SKIP_SWAP,
 
-    /** Synchronous commit. */
-    SYNC_COMMIT,
-
-    /**
-     * Switches a cache projection to work in {@code 'invalidation'} mode.
-     * Instead of updating remote entries with new values, small invalidation
-     * messages will be sent to set the values to {@code null}.
-     */
-    INVALIDATE,
-
     /**
      * Disable deserialization of portable objects on get operations.
      * If set and portable marshaller is used, {@link GridClientData#get(Object)}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/be6a1614/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientConnection.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientConnection.java
b/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientConnection.java
index c643e0a..50b0216 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientConnection.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/client/impl/connection/GridClientConnection.java
@@ -109,12 +109,6 @@ public abstract class GridClientConnection {
         if (flagSet.contains(GridClientCacheFlag.SKIP_SWAP))
             bits |= 1 << 1;
 
-        if (flagSet.contains(GridClientCacheFlag.SYNC_COMMIT))
-            bits |= 1 << 2;
-
-        if (flagSet.contains(GridClientCacheFlag.INVALIDATE))
-            bits |= 1 << 4;
-
         return bits;
     }
 


Mime
View raw message