You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Kevin Osborn (JIRA)" <ji...@apache.org> on 2007/12/08 00:41:43 UTC

[jira] Created: (SOLR-429) Add remove function to LRUCache

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.


[jira] Updated: (SOLR-429) Add remove function to LRUCache

Posted by "Kevin Osborn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Osborn updated SOLR-429:
------------------------------

    Attachment: LRUCache.diff

> 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.


[jira] Resolved: (SOLR-429) Add remove function to LRUCache

Posted by "Kevin Osborn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Osborn resolved SOLR-429.
-------------------------------

    Resolution: Fixed

> 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.