Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-43

3 new eviction policies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • jcs-1.3
    • None
    • Composite Cache
    • None

    Description

      Patch attached to this issue contains three new eviction policies:
      LFU - least frequently used item is removed on cache overflow
      FIFO - the oldest item is removed
      Expire - item with closest expiration time is removed

      also patch refactors MemoryCache hierarchy to allow easier extension

      Attachments

        1. expiration-strategies.patch
          113 kB
          Maxim Gordienko

        Activity

          People

            asmuts Aaron Smuts
            fuzebest Maxim Gordienko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: