Package org.apache.hadoop.hbase.io.hfile
Class TestBlockCacheReporting
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestBlockCacheReporting
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addDataAndHits
(org.apache.hadoop.hbase.io.hfile.BlockCache bc, int count) private void
bucketCacheReport
(org.apache.hadoop.hbase.io.hfile.BlockCache bc) private org.apache.hadoop.hbase.io.hfile.BlockCacheUtil.CachedBlocksByFile
logPerBlock
(org.apache.hadoop.hbase.io.hfile.BlockCache bc) private void
logPerFile
(org.apache.hadoop.hbase.io.hfile.BlockCacheUtil.CachedBlocksByFile cbsbf) void
setUp()
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
conf
-
-
Constructor Details
-
TestBlockCacheReporting
public TestBlockCacheReporting()
-
-
Method Details
-
setUp
- Throws:
Exception
-
addDataAndHits
-
testBucketCache
- Throws:
IOException
-
testLruBlockCache
- Throws:
IOException
-
bucketCacheReport
-
logPerFile
private void logPerFile(org.apache.hadoop.hbase.io.hfile.BlockCacheUtil.CachedBlocksByFile cbsbf) throws IOException - Throws:
IOException
-
logPerBlock
private org.apache.hadoop.hbase.io.hfile.BlockCacheUtil.CachedBlocksByFile logPerBlock(org.apache.hadoop.hbase.io.hfile.BlockCache bc) throws IOException - Throws:
IOException
-