You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikolay Tikhonov (JIRA)" <ji...@apache.org> on 2016/03/28 21:33:25 UTC

[jira] [Commented] (IGNITE-2630) Make 'updateCntr' available through CacheInterceptor API

    [ 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)