public class TestBucketCache extends Object
Tests will ensure that blocks' data correctness under several threads concurrency
| Modifier and Type | Field and Description |
|---|---|
int |
constructedBlockSize |
int[] |
constructedBlockSizes |
| Constructor and Description |
|---|
TestBucketCache() |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<Object[]> |
data() |
void |
setup() |
void |
tearDown() |
void |
testBucketAllocator() |
void |
testCacheMultiThreadedSingleKey() |
void |
testCacheSimple() |
void |
testHeapSizeChanges() |
void |
testMemoryLeak() |
public int constructedBlockSize
public int[] constructedBlockSizes
public void setup()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic void tearDown()
public void testBucketAllocator()
throws BucketAllocatorException
BucketAllocatorExceptionpublic void testCacheMultiThreadedSingleKey()
throws Exception
Exception