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

Always consult CacheLoader if entry is not in data container

    XMLWordPrintable

Details

    Description

      Currently we do not query the underlying persistence layer when an entry was found to be expired in memory. However it makes sense to query a CacheLoader (that is that it doesn't implement CacheStore) even when an entry is expired. This allows for users to configure a CacheLoader that always returns non null and the cache will never return null.

      Please see https://github.com/infinispan/infinispan/pull/6071 more information

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: