HBASE-4745 LRU statistics thread should be a daemon

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1197864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2011-11-05 01:48:45 +00:00
parent 56e19a72dc
commit c775d60de6
2 changed files with 2 additions and 0 deletions

View File

@ -450,6 +450,7 @@ Release 0.92.0 - Unreleased
(Roman Shposhnik) (Roman Shposhnik)
HBASE-4553 The update of .tableinfo is not atomic; we remove then rename HBASE-4553 The update of .tableinfo is not atomic; we remove then rename
HBASE-4725 NPE in AM#updateTimers HBASE-4725 NPE in AM#updateTimers
HBASE-4745 LRU statistics thread should be a daemon
TESTS TESTS
HBASE-4450 test for number of blocks read: to serve as baseline for expected HBASE-4450 test for number of blocks read: to serve as baseline for expected

View File

@ -127,6 +127,7 @@ public class LruBlockCache implements BlockCache, HeapSize {
Executors.newScheduledThreadPool(1, Executors.newScheduledThreadPool(1,
new ThreadFactoryBuilder() new ThreadFactoryBuilder()
.setNameFormat("LRU Statistics #%d") .setNameFormat("LRU Statistics #%d")
.setDaemon(true)
.build()); .build());
/** Current size of cache */ /** Current size of cache */