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.
精彩评论