[infinispan-issues] [JBoss JIRA] (ISPN-5752) PutMapCommand notifies the modification listener for created entries

Dan Berindei (JIRA) issues at jboss.org
Wed Sep 16 03:35:00 EDT 2015


Dan Berindei created ISPN-5752:
----------------------------------

             Summary: PutMapCommand notifies the modification listener for created entries
                 Key: ISPN-5752
                 URL: https://issues.jboss.org/browse/ISPN-5752
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 8.0.1.Final
            Reporter: Dan Berindei
             Fix For: 8.1.0.Alpha1


When a {{PutMapCommand}} creates an entry, it notifies both the {{@CacheEntryCreated}} and the {{@CacheEntryModified}} listeners. The same happens if the entry is modified, but it was evicted from the data container.

Ideally, {{CacheLoaderInterceptor}} should know whether there are creation/modification listeners attached, and read the previous value when necessary to invoke the proper listener.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list