#ignite-333: Fix javadocs.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/fcdc4ce9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/fcdc4ce9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/fcdc4ce9 Branch: refs/heads/ignite-45 Commit: fcdc4ce93355514ae36d79acb382df3c476a1a7a Parents: fa22af3 Author: ivasilinets <ivasilin...@gridgain.com> Authored: Thu Mar 12 20:28:57 2015 +0300 Committer: ivasilinets <ivasilin...@gridgain.com> Committed: Thu Mar 12 20:28:57 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/processors/cache/CacheProjection.java | 3 --- .../processors/cache/GridCacheAbstractFullApiSelfTest.java | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fcdc4ce9/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjection.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjection.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjection.java index 5ca17a0..66507f9 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjection.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjection.java @@ -1265,9 +1265,6 @@ public interface CacheProjection<K, V> extends Iterable<Cache.Entry<K, V>> { * Note that this operation is local as it merely clears * an entry from local cache. It does not remove entries from * remote caches or from underlying persistent storage. - * <h2 class="header">Cache Flags</h2> - * This method is not available if any of the following flags are set on projection: - * {@link CacheFlag#READ}. * * @param keys Keys to clearLocally. * @return {@code True} if entry was successfully cleared from cache, {@code false} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fcdc4ce9/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java index 7f3e223..9f7b3dd 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractFullApiSelfTest.java @@ -4194,6 +4194,11 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract assertEquals(0, g.jcache(null).localSize()); } + /** + * Add 500 keys to cache only on primaries nodes. + * + * @return Map grid's name to its primary keys. + */ private Map<String, List<String>> addKeys() { // Save entries only on their primary nodes. If we didn't do so, clearLocally() will not remove all entries // because some of them were blocked due to having readers. @@ -4245,6 +4250,7 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract /** * @param async If {@code true} uses async method. + * @param keysToRemove Keys to remove. * @throws Exception If failed. */ protected void testGlobalClearKey(boolean async, Collection<String> keysToRemove) throws Exception {