ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [20/50] incubator-ignite git commit: #ignite-683: Remove unused methods.
Date Mon, 13 Apr 2015 17:40:08 GMT
#ignite-683: Remove unused methods.


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

Branch: refs/heads/ignite-sprint-4
Commit: 51416e9c408bd04a9c691e3f79303d09d2c2f6bb
Parents: 8cacf08
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Thu Apr 9 20:15:02 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Thu Apr 9 20:15:02 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/near/GridNearCacheAdapter.java  | 14 --------------
 1 file changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/51416e9c/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearCacheAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearCacheAdapter.java
index 7fe0691..95ea9a1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearCacheAdapter.java
@@ -377,25 +377,11 @@ public abstract class GridNearCacheAdapter<K, V> extends GridDistributedCacheAda
     }
 
     /** {@inheritDoc} */
-    @Override public Set<K> primaryKeySet(@Nullable CacheEntryPredicate... filter)
{
-        return new GridCacheKeySet<>(ctx, primaryEntrySet(filter), null);
-    }
-
-    /** {@inheritDoc} */
     @Override public Collection<V> values(CacheEntryPredicate... filter) {
         return new GridCacheValueCollection<>(ctx, entrySet(filter), ctx.vararg(F.<K,
V>cacheHasPeekValue()));
     }
 
     /** {@inheritDoc} */
-    @Override public Collection<V> primaryValues(@Nullable CacheEntryPredicate... filter)
{
-        return new GridCacheValueCollection<>(
-            ctx,
-            entrySet(filter),
-            ctx.vararg(
-                CU.<K, V>cachePrimary0(ctx.grid().<K>affinity(ctx.name()), ctx.localNode())));
-    }
-
-    /** {@inheritDoc} */
     @Override public boolean evict(K key, @Nullable CacheEntryPredicate[] filter) {
         // Use unary 'and' to make sure that both sides execute.
         return super.evict(key, filter) & dht().evict(key, filter);


Mime
View raw message