Beispiel #1
0
 @Test
 public void testCacheMultiThreadedEviction() throws Exception {
   CacheTestUtils.hammerEviction(cache, BLOCK_SIZE, 10, NUM_QUERIES);
 }
Beispiel #2
0
 @Test
 public void testCacheMultiThreadedSingleKey() throws Exception {
   CacheTestUtils.hammerSingleKey(cache, BLOCK_SIZE, NUM_THREADS, NUM_QUERIES);
 }
Beispiel #3
0
 @Test
 public void testCacheSimple() throws Exception {
   CacheTestUtils.testCacheSimple(cache, BLOCK_SIZE, NUM_QUERIES);
 }
Beispiel #4
0
 @Test
 public void testCacheMultiThreaded() throws Exception {
   CacheTestUtils.testCacheMultiThreaded(cache, BLOCK_SIZE, NUM_THREADS, NUM_QUERIES, 0.80);
 }
Beispiel #5
0
 @Test
 public void testHeapSizeChanges() {
   CacheTestUtils.testHeapSizeChanges(cache, BLOCK_SIZE);
 }