-
Enhancement
-
Resolution: Duplicate
-
Major
-
None
-
8.2.11.Final
-
None
It really sounds like a bug to me 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
when a cache entry is removed from the cache
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.
- duplicates
-
ISPN-8585 Removed listener should only fire when something removed
- Closed
- relates to
-
ISPN-11274 CacheEntryRemoved method called when Cache#remove is called even if there is no entry
- New