ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject incubator-ignite git commit: ignite-96 wip (fixing test)
Date Sat, 07 Feb 2015 15:26:52 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-96 386a973d6 -> 1a6422ff7


ignite-96 wip (fixing test)


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

Branch: refs/heads/ignite-96
Commit: 1a6422ff710883b4a50ad0aef872e7afc7da0b9a
Parents: 386a973
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Sat Feb 7 18:26:45 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Sat Feb 7 18:26:45 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridDhtCacheAdapter.java        |  2 +-
 .../distributed/dht/colocated/GridDhtColocatedCache.java  | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1a6422ff/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java
index 9f9dc6d..7885a38 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtCacheAdapter.java
@@ -802,7 +802,7 @@ public abstract class GridDhtCacheAdapter<K, V> extends GridDistributedCacheAdap
 
     /** {@inheritDoc} */
     @Override public String toString() {
-        return S.toString(GridDhtCacheAdapter.class, this);
+        return S.toString(GridDhtCacheAdapter.class, this, super.toString());
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1a6422ff/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/colocated/GridDhtColocatedCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/colocated/GridDhtColocatedCache.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/colocated/GridDhtColocatedCache.java
index 77f0655..82510d2 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/colocated/GridDhtColocatedCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/colocated/GridDhtColocatedCache.java
@@ -414,6 +414,11 @@ public class GridDhtColocatedCache<K, V> extends GridDhtTransactionalCacheAdapte
     }
 
     /** {@inheritDoc} */
+    @Override public Cache.Entry<K, V> entry(K key) throws GridDhtInvalidPartitionException
{
+        return new CacheEntryImpl<>(key, null);
+    }
+
+    /** {@inheritDoc} */
     @Override public void unlockAll(Collection<? extends K> keys,
         IgnitePredicate<Cache.Entry<K, V>>[] filter) {
         if (keys.isEmpty())
@@ -821,4 +826,9 @@ public class GridDhtColocatedCache<K, V> extends GridDhtTransactionalCacheAdapte
         if (fut != null)
             fut.onResult(nodeId, res);
     }
+
+    /** {@inheritDoc} */
+    @Override public String toString() {
+        return S.toString(GridDhtColocatedCache.class, this, super.toString());
+    }
 }


Mime
View raw message