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
Exception
public void testCacheEvictionTwoPriorities() throws Exception
Exception
public void testCacheEvictionThreePriorities() throws Exception
Exception
public void testCacheEvictionInMemoryForceMode() throws Exception
Exception