ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [46/50] incubator-ignite git commit: # sprint-3 - javadoc fixes.
Date Mon, 13 Apr 2015 08:21:19 GMT
# sprint-3 - javadoc fixes.


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

Branch: refs/heads/ignite-683-2
Commit: fcb4a9bb55640736f28f16bea44694bad9dca1c1
Parents: e5742de
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Sun Apr 12 20:33:03 2015 -0700
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Sun Apr 12 20:33:03 2015 -0700

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/ignite/IgniteCache.java | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fcb4a9bb/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
index 9f07b42..d99902a 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
@@ -270,8 +270,9 @@ public interface IgniteCache<K, V> extends javax.cache.Cache<K,
V>, IgniteAsyncS
     public void localPromote(Set<? extends K> keys) throws CacheException;
 
     /**
-     * Gets the number of all entries cached across all nodes. By default, if {@code peekModes}
value isn't defined
-     * size across all primary copies of partitioned cache will be returned (for all configured
storages).
+     * Gets the number of all entries cached across all nodes. By default, if {@code peekModes}
value isn't defined,
+     * only size of primary copies across all nodes will be returned. This behavior is identical
to calling
+     * this method with {@link CachePeekMode#PRIMARY} peek mode.
      * <p>
      * NOTE: this operation is distributed and will query all participating nodes for their
cache sizes.
      *
@@ -282,8 +283,9 @@ public interface IgniteCache<K, V> extends javax.cache.Cache<K,
V>, IgniteAsyncS
     public int size(CachePeekMode... peekModes) throws CacheException;
 
     /**
-     * Gets the number of all entries cached on this node. By default, if {@code peekModes}
value isn't defined
-     * size of primary copy of partitioned cache will be returned (for all configured storages).
+     * Gets the number of all entries cached on this node. By default, if {@code peekModes}
value isn't defined,
+     * only size of primary copies will be returned. This behavior is identical to calling
this method with
+     * {@link CachePeekMode#PRIMARY} peek mode.
      *
      * @param peekModes Optional peek modes. If not provided, then total cache size is returned.
      * @return Cache size on this node.


Mime
View raw message