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