Solr
  1. Solr
  2. SOLR-1006

ConcurrentLRUCache API improvements

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      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)
      1. SOLR-1006.patch
        3 kB
        Noble Paul
      2. SOLR-1006.patch
        4 kB
        Shalin Shekhar Mangar

        Activity

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Noble Paul
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development