[jira] [Created] (IGNITE-1517) CacheInterceptor is not called on 'put' operations

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1517) CacheInterceptor is not called on 'put' operations

Anton Vinogradov (Jira)
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)