krosenvold
krosenvold

Reputation: 77171

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

I need a memoizer/cache-like structure that only blocks the first time ever a value is requested and only periodically refreshes (asynchronously, triggered by user request) afterwards. Where can I find one ?

Upvotes: 1

Views: 472

Answers (1)

Heri
Heri

Reputation: 2124

You can achive this in Ehcache with a SelfPopulatingCache.

Upvotes: 1

Related Questions