ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [30/50] [abbrv] incubator-ignite git commit: # ignite-683-2
Date Tue, 14 Apr 2015 14:25:46 GMT
# ignite-683-2


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

Branch: refs/heads/ignite-218
Commit: 5f81edb43bd258ec6c192d692a0348a7765d4949
Parents: edb0e3f
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Apr 13 14:10:13 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Apr 13 14:10:13 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheAdapter.java   | 4 ++--
 .../internal/processors/cache/GridCacheProjectionImpl.java   | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5f81edb4/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
index e16227a..6905927 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
@@ -2021,7 +2021,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
      * @param filter Optional filter.
      * @return Put operation future.
      */
-    public IgniteInternalFuture<V> putAsync0(final K key, final V val, @Nullable final
CacheEntryPredicate... filter) {
+    protected IgniteInternalFuture<V> putAsync0(final K key, final V val, @Nullable
final CacheEntryPredicate... filter) {
         A.notNull(key, "key", val, "val");
 
         if (keyCheck)
@@ -2352,7 +2352,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
      * @param filter Optional filter.
      * @return Putx operation future.
      */
-    public IgniteInternalFuture<Boolean> putxAsync0(final K key, final V val,
+    protected IgniteInternalFuture<Boolean> putxAsync0(final K key, final V val,
         @Nullable final CacheEntryPredicate... filter) {
         A.notNull(key, "key", val, "val");
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5f81edb4/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
index 71452f8..40f59f3 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
@@ -389,7 +389,7 @@ public class GridCacheProjectionImpl<K, V> implements GridCacheProjectionEx<K,
V
 
     /** {@inheritDoc} */
     @Override public IgniteInternalFuture<V> putIfAbsentAsync(K key, V val) {
-        return cache.putAsync0(key, val, cctx.noValArray());
+        return cache.putIfAbsentAsync(key, val);
     }
 
     /** {@inheritDoc} */
@@ -399,7 +399,7 @@ public class GridCacheProjectionImpl<K, V> implements GridCacheProjectionEx<K,
V
 
     /** {@inheritDoc} */
     @Override public IgniteInternalFuture<Boolean> putxIfAbsentAsync(K key, V val)
{
-        return cache.putxAsync0(key, val, cctx.noValArray());
+        return cache.putxIfAbsentAsync(key, val);
     }
 
     /** {@inheritDoc} */
@@ -409,7 +409,7 @@ public class GridCacheProjectionImpl<K, V> implements GridCacheProjectionEx<K,
V
 
     /** {@inheritDoc} */
     @Override public IgniteInternalFuture<V> replaceAsync(K key, V val) {
-        return cache.putAsync0(key, val, cctx.hasValArray());
+        return cache.replaceAsync(key, val);
     }
 
     /** {@inheritDoc} */
@@ -419,7 +419,7 @@ public class GridCacheProjectionImpl<K, V> implements GridCacheProjectionEx<K,
V
 
     /** {@inheritDoc} */
     @Override public IgniteInternalFuture<Boolean> replacexAsync(K key, V val) {
-        return cache.putxAsync0(key, val, cctx.hasValArray());
+        return cache.replacexAsync(key, val);
     }
 
     /** {@inheritDoc} */


Mime
View raw message