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 F256518CA5 for ; Wed, 3 Feb 2016 10:12:14 +0000 (UTC) Received: (qmail 87635 invoked by uid 500); 3 Feb 2016 10:12:14 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 87594 invoked by uid 500); 3 Feb 2016 10:12:14 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 87585 invoked by uid 99); 3 Feb 2016 10:12:14 -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; Wed, 03 Feb 2016 10:12:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A91B2DFC8F; Wed, 3 Feb 2016 10:12:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: av@apache.org To: commits@ignite.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: ignite git commit: 2224 Added Javadoc about new methods to CacheEntry Date: Wed, 3 Feb 2016 10:12:14 +0000 (UTC) Repository: ignite Updated Branches: refs/heads/master 60c8b072d -> e7de923e6 2224 Added Javadoc about new methods to CacheEntry Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e7de923e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e7de923e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e7de923e Branch: refs/heads/master Commit: e7de923e6c34bdb4e276bd4314868541087d66f1 Parents: 60c8b07 Author: Anton Vinogradov Authored: Wed Feb 3 13:11:10 2016 +0300 Committer: Anton Vinogradov Committed: Wed Feb 3 13:11:10 2016 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/ignite/cache/CacheEntry.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/e7de923e/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java b/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java index d92f9fb..19585a3 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java @@ -24,9 +24,9 @@ import org.apache.ignite.IgniteCache; /** * Cache entry that extends {@link javax.cache.Cache.Entry} by providing additional entry related information. - * - * To get an instance of {@code CacheEntry} use {@link javax.cache.Cache.Entry#unwrap(Class)} method by passing - * {@code CacheEntry} class to it as the argument. + *

+ * To get an instance of {@code CacheEntry} from {@link javax.cache.Cache.Entry} use + * {@link javax.cache.Cache.Entry#unwrap(Class)} method by passing {@code CacheEntry} class to it as the argument. *

* {@code CacheEntry} is supported only for {@link javax.cache.Cache.Entry} returned by one of the following methods: *

    @@ -36,6 +36,9 @@ import org.apache.ignite.IgniteCache; *
  • {@link IgniteCache#randomEntry()}
  • *
*

+ * To get an instance of {@code CacheEntry} directly use {@link IgniteCache#getEntry(Object)} or + * {@link IgniteCache#getEntries(Set)} methods. + *

* {@code CacheEntry} is not supported for {@link javax.cache.Cache#iterator()} because of performance reasons. * {@link javax.cache.Cache#iterator()} loads entries from all the cluster nodes and to speed up the load additional * information, like entry's version, is ignored.