ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [18/50] incubator-ignite git commit: #ignite-683: Remove unused methods.
Date Mon, 13 Apr 2015 17:40:06 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/e8f23345
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e8f23345
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e8f23345

Branch: refs/heads/ignite-sprint-4
Commit: e8f233456a0f7031bc994dcbe678322fc77a2e23
Parents: 3a0d1fc
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Thu Apr 9 19:48:23 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Thu Apr 9 19:48:23 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/GridCacheAdapter.java     |  7 -------
 .../processors/cache/GridCacheProjectionEx.java         |  9 ---------
 .../processors/cache/GridCacheProjectionImpl.java       |  5 -----
 .../internal/processors/cache/GridCacheProxyImpl.java   | 12 ------------
 4 files changed, 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e8f23345/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 ab440b4..09f4646 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
@@ -1285,13 +1285,6 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
             .get();
     }
 
-    /** {@inheritDoc} */
-    @Override public IgniteInternalFuture<Map<K, V>> getAllOutTxAsync(List<K>
keys) {
-        String taskName = ctx.kernalContext().job().currentTaskName();
-
-        return getAllAsync(keys, !ctx.config().isReadFromBackup(), /*skip tx*/true, null,
null, taskName, true, false);
-    }
-
     /**
      * @param keys Keys.
      * @param reload Reload flag.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e8f23345/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionEx.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionEx.java
index 20e66e5..d7db04e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionEx.java
@@ -183,15 +183,6 @@ public interface GridCacheProjectionEx<K, V> extends CacheProjection<K,
V> {
     @Nullable public Map<K, V> getAllOutTx(List<K> keys) throws IgniteCheckedException;
 
     /**
-     * Asynchronously gets values from cache. Will bypass started transaction, if any, i.e.
will not enlist entries
-     * and will not lock any keys if pessimistic transaction is started by thread.
-     *
-     * @param keys Keys to get values for.
-     * @return Future with result.
-     */
-    public IgniteInternalFuture<Map<K, V>> getAllOutTxAsync(List<K> keys);
-
-    /**
      * Checks whether this cache is IGFS data cache.
      *
      * @return {@code True} in case this cache is IGFS data cache.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e8f23345/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 fb28254..49fc3c7 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
@@ -277,11 +277,6 @@ public class GridCacheProjectionImpl<K, V> implements GridCacheProjectionEx<K,
V
     }
 
     /** {@inheritDoc} */
-    @Override public IgniteInternalFuture<Map<K, V>> getAllOutTxAsync(List<K>
keys) {
-        return cache.getAllOutTxAsync(keys);
-    }
-
-    /** {@inheritDoc} */
     @Override public boolean isIgfsDataCache() {
         return cache.isIgfsDataCache();
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e8f23345/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
index 8c6f392..4982f7b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
@@ -415,18 +415,6 @@ public class GridCacheProxyImpl<K, V> implements GridCacheProxy<K,
V>, Externali
     }
 
     /** {@inheritDoc} */
-    @Override public IgniteInternalFuture<Map<K, V>> getAllOutTxAsync(List<K>
keys) {
-        GridCacheProjectionImpl<K, V> prev = gate.enter(prj);
-
-        try {
-            return delegate.getAllOutTxAsync(keys);
-        }
-        finally {
-            gate.leave(prev);
-        }
-    }
-
-    /** {@inheritDoc} */
     @Override public boolean isIgfsDataCache() {
         GridCacheProjectionImpl<K, V> prev = gate.enter(prj);
 


Mime
View raw message