keith-turner commented on a change in pull request #951: FLUO-950 Make
VisibilityCache customizable
URL: https://github.com/apache/fluo/pull/951#discussion_r146360582
##########
File path:
modules/core/src/main/java/org/apache/fluo/core/impl/VisibilityCache.java
##########
@@ -46,11 +47,11 @@ public int weigh(Bytes key, ColumnVisibility vis) {
private final Cache<Bytes, ColumnVisibility> visCache;
- VisibilityCache() {
+ VisibilityCache(FluoConfiguration conf) {
visCache = CacheBuilder.newBuilder()
- .expireAfterAccess(FluoConfigurationImpl.TX_INFO_CACHE_TIMEOUT_DEFAULT,
+ .expireAfterAccess(FluoConfigurationImpl.getTxIfoCacheTimeout(conf,
TimeUnit.MILLISECONDS),
Review comment:
This should call `getVisibilityCacheTimeout()`
----------------------------------------------------------------
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