Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C8E1199B2 for ; Mon, 28 Mar 2016 19:33:26 +0000 (UTC) Received: (qmail 32284 invoked by uid 500); 28 Mar 2016 19:33:25 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 32207 invoked by uid 500); 28 Mar 2016 19:33:25 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 32169 invoked by uid 99); 28 Mar 2016 19:33:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 19:33:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8F9762C1F69 for ; Mon, 28 Mar 2016 19:33:25 +0000 (UTC) Date: Mon, 28 Mar 2016 19:33:25 +0000 (UTC) From: "Nikolay Tikhonov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-2630) Make 'updateCntr' available through CacheInterceptor API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214737#comment-15214737 ] Nikolay Tikhonov commented on IGNITE-2630: ------------------------------------------ Added ability to get update counter by CacheInterceptorEntry for `onAfterRemove` and `onAfterPut`. This class can be got by `Cache.Entry.unwrap(CacheInterceptorEntry.class).` > Make 'updateCntr' available through CacheInterceptor API > -------------------------------------------------------- > > Key: IGNITE-2630 > URL: https://issues.apache.org/jira/browse/IGNITE-2630 > Project: Ignite > Issue Type: New Feature > Components: cache > Affects Versions: 1.5.0.final > Reporter: Nikolay Tikhonov > Assignee: Nikolay Tikhonov > Priority: Minor > Labels: community, important > > Make {{updateCntr}} available through {{CacheInterceptor}} API. On {{onAfterPut}} and {{onAfterRemove}} methods partition update counter can be got by Cache.Entry.unwrap(Long.class). When invoking other methods on {{CacheIntercetor}} API ({{onBeforePut}}, {{onBeforeRemove}}) the counter is not available. -- This message was sent by Atlassian JIRA (v6.3.4#6332)