ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Tikhonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2630) Make 'updateCntr' available through CacheInterceptor API
Date Mon, 28 Mar 2016 19:33:25 GMT

    [ 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

View raw message