public class TestCacheOnWrite
extends java.lang.Object
HFile cache-on-write functionality for the following block
types: data blocks, non-root index blocks, and Bloom filter blocks.| Constructor and Description |
|---|
TestCacheOnWrite(org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.CacheOnWriteType cowType,
Compression.Algorithm compress,
org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.BlockEncoderTestType encoderType,
boolean cacheCompressedData,
BlockCache blockCache) |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
static KeyValue.Type |
generateKeyType(java.util.Random rand) |
static java.util.Collection<java.lang.Object[]> |
getParameters() |
void |
setUp() |
void |
tearDown() |
void |
testNotCachingDataBlocksDuringCompaction() |
void |
testStoreFileCacheOnWrite() |
public TestCacheOnWrite(org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.CacheOnWriteType cowType,
Compression.Algorithm compress,
org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.BlockEncoderTestType encoderType,
boolean cacheCompressedData,
BlockCache blockCache)
public static java.util.Collection<java.lang.Object[]> getParameters()
throws java.io.IOException
java.io.IOExceptionpublic void setUp()
throws java.io.IOException
java.io.IOExceptionpublic void tearDown()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic static void afterClass()
throws java.io.IOException
java.io.IOExceptionpublic static KeyValue.Type generateKeyType(java.util.Random rand)
public void testStoreFileCacheOnWrite()
throws java.io.IOException
java.io.IOExceptionpublic void testNotCachingDataBlocksDuringCompaction()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedException