You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2015/09/18 22:58:04 UTC
[jira] [Created] (IGNITE-1517) CacheInterceptor is not called on
'put' operations
Denis Magda created IGNITE-1517:
-----------------------------------
Summary: 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
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)