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
FileNotFoundException
IOException
public void tearDown()
public void testBucketAllocator() throws BucketAllocatorException
BucketAllocatorException
public void testCacheMultiThreadedSingleKey() throws Exception
Exception