Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3997

Include eviction cause to the LIRS removal callback

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.18, 1.3.16, 1.4
    • cache
    • None

    Description

      Enhance the EvictionCallback#evicted() method with a new argument: cause. It may be a Guava com.google.common.cache.RemovalCause, even though the COLLECTED and EXPIRED won't be used, as LIRS cache doesn't support weak values and TTL yet.

      Attachments

        1. OAK-3997-1.2.patch
          11 kB
          Tomek Rękawek
        2. OAK-3997-trunk.patch
          13 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: