public class TestLruBlockCache extends Object
Tests will ensure it grows and shrinks in size properly, evictions run when they're supposed to and do what they should, and that cached blocks are accessible when expected to be.
| Constructor and Description |
|---|
TestLruBlockCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBackgroundEvictionThread() |
void |
testCacheEvictionInMemoryForceMode() |
void |
testCacheEvictionSimple() |
void |
testCacheEvictionThreePriorities() |
void |
testCacheEvictionTwoPriorities() |
void |
testCacheSimple() |
void |
testPastNPeriodsMetrics() |
void |
testResizeBlockCache() |
void |
testScanResistance() |
public void testBackgroundEvictionThread()
throws Exception
Exceptionpublic void testCacheEvictionTwoPriorities()
throws Exception
Exceptionpublic void testCacheEvictionThreePriorities()
throws Exception
Exceptionpublic void testCacheEvictionInMemoryForceMode()
throws Exception
Exception