lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Osborn (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-429) Add remove function to LRUCache
Date Fri, 07 Dec 2007 23:41:43 GMT
Add remove function to LRUCache
-------------------------------

                 Key: SOLR-429
                 URL: https://issues.apache.org/jira/browse/SOLR-429
             Project: Solr
          Issue Type: New Feature
          Components: search
            Reporter: Kevin Osborn
            Priority: Minor
         Attachments: LRUCache.diff

I want to add the following function to LRUCache:

public void remove(Object key) {
    synchronized(map) {
      map.remove(key);
    }
  }

We need to periodically remove certain items from the cache on certain requests. There is
also already functions for get, put, and clear, so this would complete the interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message