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

Improvements on getCacheEntry() synchronization

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      • Separate GetKeyValueCommand into two, GetKeyValueCommand and GetCacheEntryCommand to have good separation and avoid conditional logic in GetKeyValueCommand.

      I had something simpler in mind. you could invoke create(cacheEntry) that returns a mutable copy. I think it is ok the copy to be mutable, but it you really want it immutable, you can do immutableInternalCacheEntry(create(cacheEntry))
      this way you would avoid all the changes in CoreImmutables

      • Finally, sort out TODO in documentation of InternalEntryFactory

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              galder.zamarreno Galder ZamarreƱo
              Reporter:
              galder.zamarreno Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: