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.