camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-3922) LRUSoftCache - Should use SoftReference to support OOME
Date Mon, 02 May 2011 08:09:03 GMT
LRUSoftCache - Should use SoftReference to support OOME
-------------------------------------------------------

                 Key: CAMEL-3922
                 URL: https://issues.apache.org/jira/browse/CAMEL-3922
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.8.0


We should creata a LRUSoftCache that uses SoftReferences for cached values. This supports
the JVM when it runs low on memory and want to re-claim unused objects from the cache. 

We can use this for a certain number of caches where this is feasible such as
- endpoint cache
- producer cache
- consumer cache

Currently end users can only set a fixed max size on those cache.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message