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

Change CacheStore.store() to return the previous value instead of void.

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Major
    • 5.0.0.CR8, 5.0.0.FINAL
    • 4.2.0.Final
    • Core
    • None

    Description

      Cache.put(key, value) operation returns a previous value. However, CacheStore.store() does not return a previous value but void. To overcome the impedance mismatch, the current implementation calls CacheStore.load() to simply get the previous value. CacheStore.store() could be improved to reduce this unnecessary round trip.

      Attachments

        Activity

          People

            manik_jira Manik Surtani (Inactive)
            trustin_jira Trustin Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: