所有方法 实例方法 抽象方法 具体方法
| 限定符和类型 |
方法和说明 |
protected abstract void |
checkInCache(Cache<Id,Object> cache,
Id id) |
protected abstract void |
checkNotInCache(Cache<Id,Object> cache,
Id id) |
protected abstract void |
checkSize(Cache<Id,Object> cache,
long size,
Map<Id,Object> kvs) |
protected abstract Cache<Id,Object> |
newCache() |
protected abstract Cache<Id,Object> |
newCache(long capacity) |
void |
setup() |
void |
teardown() |
void |
testCapacity() |
void |
testClear() |
void |
testExpire() |
void |
testExpireWithAddNewItem() |
void |
testExpireWithZeroSecond() |
void |
testGetOrFetch() |
void |
testHitsAndMiss() |
void |
testInvalidate() |
void |
testMutiThreadsGetAndUpdate() |
void |
testMutiThreadsGetAndUpdateWithGtCapacity() |
void |
testMutiThreadsGetWith2Items() |
void |
testMutiThreadsGetWith3Items() |
void |
testMutiThreadsUpdate() |
void |
testMutiThreadsUpdateAndCheck() |
void |
testMutiThreadsUpdateWithGtCapacity() |
void |
testSize() |
void |
testSizeWithReachCapacity() |
void |
testUpdateAndGet() |
void |
testUpdateAndGetWithDataType() |
void |
testUpdateAndGetWithSameSizeAndCapacity() |
void |
testUpdateIfAbsent() |
void |
testUpdateIfAbsentWithExistKey() |
void |
testUpdateIfPresent() |