ben-manes commented on a change in pull request #321: ACCUMULO-4641 Added loading to cache API URL: https://github.com/apache/accumulo/pull/321#discussion_r150136161
########## File path: core/src/main/java/org/apache/accumulo/core/file/blockfile/cache/tinylfu/TinyLfuBlockCache.java ########## @@ -47,7 +47,7 @@ * <li>Cache design: http://highscalability.com/blog/2016/1/25/design-of-a-modern-cache.html</li> * </ul> */ -public final class TinyLfuBlockCache implements BlockCache { +public final class TinyLfuBlockCache extends SynchronousLoadingBlockCache implements BlockCache { Review comment: The underlying cache already does memoization using a per-entry lock. Is this needed? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
