Skip to content

Commit

Permalink
HBASE-26028 The view as json page shows exception when using TinyLfuB…
Browse files Browse the repository at this point in the history
…lockCache (apache#3420)
  • Loading branch information
bsglz committed Jun 30, 2021
1 parent 51893b9 commit 147b030
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ public final class TinyLfuBlockCache implements FirstLevelBlockCache {
private static final long DEFAULT_MAX_BLOCK_SIZE = 16L * 1024L * 1024L;
private static final int STAT_THREAD_PERIOD_SECONDS = 5 * 60;

private final Eviction<BlockCacheKey, Cacheable> policy;
private final ScheduledExecutorService statsThreadPool;
private transient final Eviction<BlockCacheKey, Cacheable> policy;
private transient final ScheduledExecutorService statsThreadPool;
private final long maxBlockSize;
private final CacheStats stats;

private BlockCache victimCache;
private transient BlockCache victimCache;

final Cache<BlockCacheKey, Cacheable> cache;
transient final Cache<BlockCacheKey, Cacheable> cache;

/**
* Creates a block cache.
Expand Down

0 comments on commit 147b030

Please sign in to comment.