ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [09/28] incubator-ignite git commit: # ignite-432: getAllAsync docs
Date Wed, 18 Mar 2015 14:16:24 GMT
# ignite-432: getAllAsync docs


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

Branch: refs/heads/ignite-424
Commit: 1bf6645b6c40082ea79922c3ef8efd062a75f891
Parents: 1f7ef61
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Tue Mar 17 16:26:05 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Tue Mar 17 16:26:05 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheAdapter.java      | 44 +++++++++++++++-----
 1 file changed, 34 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1bf6645b/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 02501c2..2d6b695 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
@@ -893,7 +893,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
 
     /** {@inheritDoc} */
     @Override public V peek(K key) {
-        return peek(key, (CacheEntryPredicate) null);
+        return peek(key, (CacheEntryPredicate)null);
     }
 
     /** {@inheritDoc} */
@@ -1232,7 +1232,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
 
     /** {@inheritDoc} */
     @Override public Set<Cache.Entry<K, V>> entrySet() {
-        return entrySet((CacheEntryPredicate[]) null);
+        return entrySet((CacheEntryPredicate[])null);
     }
 
     /** {@inheritDoc} */
@@ -1255,22 +1255,22 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
 
     /** {@inheritDoc} */
     @Override public Set<Cache.Entry<K, V>> primaryEntrySet() {
-        return primaryEntrySet((CacheEntryPredicate[]) null);
+        return primaryEntrySet((CacheEntryPredicate[])null);
     }
 
     /** {@inheritDoc} */
     @Override public Set<K> keySet() {
-        return keySet((CacheEntryPredicate[]) null);
+        return keySet((CacheEntryPredicate[])null);
     }
 
     /** {@inheritDoc} */
     @Override public Set<K> primaryKeySet() {
-        return primaryKeySet((CacheEntryPredicate[]) null);
+        return primaryKeySet((CacheEntryPredicate[])null);
     }
 
     /** {@inheritDoc} */
     @Override public Collection<V> values() {
-        return values((CacheEntryPredicate[]) null);
+        return values((CacheEntryPredicate[])null);
     }
 
     /** {@inheritDoc} */
@@ -1835,7 +1835,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
 
     /** {@inheritDoc} */
     @Override public void evictAll(Collection<? extends K> keys) {
-        evictAll(keys, (CacheEntryPredicate[]) null);
+        evictAll(keys, (CacheEntryPredicate[])null);
     }
 
     /** {@inheritDoc} */
@@ -1871,7 +1871,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
             fut =  fut.chain(new CX1<IgniteInternalFuture<V>, V>() {
                 @Override
                 public V applyx(IgniteInternalFuture<V> f) throws IgniteCheckedException
{
-                    return (V) ctx.config().getInterceptor().onGet(key, f.get());
+                    return (V)ctx.config().getInterceptor().onGet(key, f.get());
                 }
             });
 
@@ -1964,7 +1964,18 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
         return res;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * @param keys Keys.
+     * @param forcePrimary Force primary.
+     * @param skipTx Skip tx.
+     * @param entry Entry.
+     * @param subjId Subj Id.
+     * @param taskName Task name.
+     * @param deserializePortable Deserialize portable.
+     * @param skipVals Skip values.
+     * @return Future for the get operation.
+     * @see GridCacheAdapter#getAllAsync(Collection)
+     */
     protected IgniteInternalFuture<Map<K, V>> getAllAsync(
         @Nullable Collection<? extends K> keys,
         boolean forcePrimary,
@@ -1991,7 +2002,20 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
                 skipVals);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * @param keys Keys.
+     * @param readThrough Read through.
+     * @param cached Cached.
+     * @param checkTx Check tx.
+     * @param subjId Subj Id.
+     * @param taskName Task name.
+     * @param deserializePortable Deserialize portable.
+     * @param forcePrimary Froce primary.
+     * @param expiry Expiry policy.
+     * @param skipVals Skip values.
+     * @return Future for the get operation.
+     * @see GridCacheAdapter#getAllAsync(Collection)
+     */
     public IgniteInternalFuture<Map<K, V>> getAllAsync(@Nullable final Collection<?
extends K> keys,
         boolean readThrough,
         @Nullable GridCacheEntryEx cached,


Mime
View raw message