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 |
testInvalidate() |
void |
testMutiThreadsGetAndUpdate() |
void |
testMutiThreadsGetAndUpdateWithGtCapacity() |
void |
testMutiThreadsGetWith2Items() |
void |
testMutiThreadsGetWith3Items() |
void |
testMutiThreadsUpdate() |
void |
testMutiThreadsUpdateAndCheck() |
void |
testMutiThreadsUpdateWithGtCapacity() |
void |
testSize() |
void |
testSizeWithReachCapacity() |
void |
testUpdateGet() |
void |
testUpdateIfAbsent() |
void |
testUpdateIfAbsentWithExistKey() |
clear, init, runWithThreads, waitTillNextpublic void setup()
public void testUpdateGet()
public void testUpdateIfAbsent()
public void testUpdateIfAbsentWithExistKey()
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–2018. All rights reserved.