[infinispan-issues] [JBoss JIRA] (ISPN-9491) CacheEntryRemoved method called when Cache#remove is called even if there is no entry
Thomas Mortagne (JIRA)
issues at jboss.org
Thu Sep 6 05:30:00 EDT 2018
Thomas Mortagne created ISPN-9491:
-------------------------------------
Summary: CacheEntryRemoved method called when Cache#remove is called even if there is no entry
Key: ISPN-9491
URL: https://issues.jboss.org/browse/ISPN-9491
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 8.2.11.Final
Environment: It really sounds like a bug to be to have my listener called with no value just because some code called #remove() just in case the cache contains an entry associated with the key.
The Javadoc is not super explicit about this use case but it does indicate
{noformat}
when a cache entry is removed from the cache
{noformat}
and clearly nothing was removed since nothing existed.
By the way this jira indicate that 8.2.11 is not released but it's available on Maven central.
Reporter: Thomas Mortagne
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list