You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/10/24 12:36:00 UTC
[jira] [Commented] (CAMEL-20039) camel-core - SimpleLRUCache add support for soft cache
[ https://issues.apache.org/jira/browse/CAMEL-20039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779059#comment-17779059 ]
Claus Ibsen commented on CAMEL-20039:
-------------------------------------
[~nfilotto] in case you want to have some fun with Camel, then see how we can make the keys be SoftReference in the cache implementation.
> camel-core - SimpleLRUCache add support for soft cache
> ------------------------------------------------------
>
> Key: CAMEL-20039
> URL: https://issues.apache.org/jira/browse/CAMEL-20039
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.0.3, 4.2.0
>
>
> The SimpleLRUCache does not have support for SoftReference to have soft keys.
> There is an old implementation at
> https://github.com/apache/camel/blob/camel-2.10.6/camel-core/src/main/java/org/apache/camel/util/LRUSoftCache.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)