[ 
https://issues.apache.org/jira/browse/IGNITE-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Magda closed IGNITE-1517.
-------------------------------
    Assignee: Denis Magda  (was: Yakov Zhdanov)

> CacheInterceptor is not called on 'put' operations
> --------------------------------------------------
>
>                 Key: IGNITE-1517
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1517
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: ignite-1.4
>            Reporter: Denis Magda
>            Assignee: Denis Magda
>            Priority: Blocker
>             Fix For: ignite-1.5
>
>         Attachments: CacheInterceptorTest.java
>
>
> According to {{CacheInterceptor}} API {{onBeforePut}} and {{onAfterPut}} 
> methods are called when a value is being put or updated in cache.
> However, these methods are not called when {{Cache.put}} is being executed, 
> so 'puts' are not intercepted.
>  Steps to reproduce:
> - create cacheconfiguration with cache interceptor;
> - populate a cache and you will see that the cache interceptor is not called.
> Attached is a simple source code that considered that the interceptor would 
> be executed for 'company' cache but that didn't happen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to