public class RamCacheTest extends BaseUnitTest
| Constructor and Description |
|---|
RamCacheTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
teardown() |
void |
testCapacity() |
void |
testClear() |
void |
testExpire() |
void |
testExpireWithAddNewItem() |
void |
testExpireWithZeroSecond() |
void |
testGetOrFetch() |
void |
testInvalidate() |
void |
testMutiThreadsGetAndUpdate() |
void |
testMutiThreadsGetAndUpdateWithGtCapacity() |
void |
testMutiThreadsGetWith2Items() |
void |
testMutiThreadsGetWith3Items() |
void |
testMutiThreadsUpdate() |
void |
testMutiThreadsUpdateAndCheck() |
void |
testMutiThreadsUpdateWithGtCapacity() |
void |
testSize() |
void |
testSizeWithReachCapacity() |
void |
testUpdateAndGet() |
void |
testUpdateAndGetWithSizeEqualCapacity() |
void |
testUpdateIfAbsent() |
void |
testUpdateIfAbsentWithExistKey() |
void |
testUpdateIfPresent() |
clear, init, runWithThreads, waitTillNextpublic void setup()
public void testUpdateAndGet()
public void testUpdateAndGetWithSizeEqualCapacity()
public void testGetOrFetch()
public void testUpdateIfAbsent()
public void testUpdateIfAbsentWithExistKey()
public void testUpdateIfPresent()
public void testInvalidate()
public void testClear()
public void testCapacity()
public void testSize()
public void testSizeWithReachCapacity()
public void testExpire()
public void testExpireWithAddNewItem()
public void testExpireWithZeroSecond()
public void testMutiThreadsUpdate()
public void testMutiThreadsUpdateWithGtCapacity()
public void testMutiThreadsUpdateAndCheck()
public void testMutiThreadsGetWith2Items()
public void testMutiThreadsGetWith3Items()
public void testMutiThreadsGetAndUpdate()
public void testMutiThreadsGetAndUpdateWithGtCapacity()
Copyright © 2017–2019. All rights reserved.