Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9491

CacheEntryRemoved method called when Cache#remove is called even if there is no entry

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • Major
    • None
    • 8.2.11.Final
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              tmortagne Thomas Mortagne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: