Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently FileCache builds CacheLIRS by using CacheLoader and uses the method get(K key to retrieve an entry. This can cause the cache segments to be blocked until the entry is loaded into the cache. An alternative is to use the method get(K key, Callable<? extends V> valueLoader) which would only block the thread loading the same key.