[
https://issues.apache.org/jira/browse/IGNITE-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Magda resolved IGNITE-1517.
---------------------------------
Resolution: Not A Problem
Well, these methods are called on a sever node that will hold a cache entry.
Not a bug, closing
> 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: Yakov Zhdanov
> 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)