Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16575 Add low level support for Async Renditions
  3. NXP-16578

Extend Cache API to support entries existence check

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Core

      Description

      Cache API should allow to check if an entry exists.

      Using the get API could be an option, but :

      • it is more expensive than actually needed
        • ex: Redis marshaling
      • it may change the internal cache state
        • ex: modify the internal "last access time" that can be used for LRU

      We should add an hasEntry API.
      For compatibility reasons, the abstract class will provide an implementation based on the get API.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: