开发者

Non-blocking java cache that reloads asynchronously as long as some value is available

开发者 https://www.devze.com 2023-01-25 02:06 出处:网络
I need a memoizer/cache-like structure that only blocks the firs开发者_运维百科t time ever a value is requested and only periodically refreshes (asynchronously, triggered by user request) afterwards.

I need a memoizer/cache-like structure that only blocks the firs开发者_运维百科t time ever a value is requested and only periodically refreshes (asynchronously, triggered by user request) afterwards. Where can I find one ?


You can achive this in Ehcache with a SelfPopulatingCache.

0

精彩评论

暂无评论...
验证码 换一张
取 消