public void clearStats() {
for (Cache<?, ?> c: caches) {
log.trace("Clearing stats for cache store on cache "+ c);
DummyInMemoryCacheStore cs = (DummyInMemoryCacheStore) TestingUtil.extractComponent(c, CacheLoaderManager.class).getCacheStore();
cs.clear();
cs.clearStats();
}
}
public void testPreloadOnStart() throws CacheLoaderException {
for (int i = 0; i < NUM_KEYS; i++) {