Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24D2D17CF5 for ; Mon, 13 Apr 2015 11:53:33 +0000 (UTC) Received: (qmail 54559 invoked by uid 500); 13 Apr 2015 11:53:17 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 54529 invoked by uid 500); 13 Apr 2015 11:53:17 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 54520 invoked by uid 99); 13 Apr 2015 11:53:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2015 11:53:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Apr 2015 11:53:15 +0000 Received: (qmail 53936 invoked by uid 99); 13 Apr 2015 11:52:55 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2015 11:52:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7E0ACE0551; Mon, 13 Apr 2015 11:52:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vozerov@apache.org To: commits@ignite.incubator.apache.org Date: Mon, 13 Apr 2015 11:53:34 -0000 Message-Id: <719c07325ed3450cb95502ea86d03223@git.apache.org> In-Reply-To: <3101ed6018804daa8478665e506ddc61@git.apache.org> References: <3101ed6018804daa8478665e506ddc61@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [41/50] incubator-ignite git commit: # sprint-3 - javadoc fixes. X-Virus-Checked: Checked by ClamAV on apache.org # 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-gg-9991 Commit: fcb4a9bb55640736f28f16bea44694bad9dca1c1 Parents: e5742de Author: Dmitiry Setrakyan Authored: Sun Apr 12 20:33:03 2015 -0700 Committer: Dmitiry Setrakyan 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 extends javax.cache.Cache, IgniteAsyncS public void localPromote(Set 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. *

* NOTE: this operation is distributed and will query all participating nodes for their cache sizes. * @@ -282,8 +283,9 @@ public interface IgniteCache extends javax.cache.Cache, 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.