public class TestCacheConfig
extends java.lang.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 setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testCacheConfigDefaultLRUBlockCache()
public void testOffHeapBucketCacheConfig()
public void testOnHeapBucketCacheConfig()
public void testFileBucketCacheConfig()
throws java.io.IOException
java.io.IOExceptionpublic void testBucketCacheConfigL1L2Setup()
public void testCacheDataInL1()