Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1006

ConcurrentLRUCache API improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4
    • None
    • None

    Description

      This is to make ConcurrentLRUCache more consistent with LinkedHashMap behavior

      1. remove must not call evictionListener.evictedEntry()
      2. EvictionListener must be able prevent eviction of an element by returning a false.
      3. Add a new method Map getOldestItems(long n)

      Attachments

        1. SOLR-1006.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-1006.patch
          3 kB
          Noble Paul

        Activity

          People

            shalin Shalin Shekhar Mangar
            noble.paul Noble Paul
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: