public class TestCacheConfig extends Object
CacheConfig does as expected.| Constructor and Description |
|---|
TestCacheConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testBucketCacheConfigL1L2Setup()
Assert that when BUCKET_CACHE_COMBINED_KEY is false, the non-default, that we deploy
LruBlockCache as L1 with a BucketCache for L2.
|
void |
testCacheConfigDefaultLRUBlockCache() |
void |
testCacheDataInL1()
Test the cacheDataInL1 flag.
|
void |
testFileBucketCacheConfig() |
void |
testOffHeapBucketCacheConfig()
Assert that the caches are deployed with CombinedBlockCache and of the appropriate sizes.
|
void |
testOnHeapBucketCacheConfig() |
public void testCacheConfigDefaultLRUBlockCache()
public void testOffHeapBucketCacheConfig()
public void testOnHeapBucketCacheConfig()
public void testFileBucketCacheConfig()
throws IOException
IOExceptionpublic void testBucketCacheConfigL1L2Setup()
public void testCacheDataInL1()