revised cache abstraction

- removed AbstractDelegatingCache (a cache is not a map, no need to offer a template)
+ renamed ConcurrentCache to ConcurrentCacheMap
This commit is contained in:
Costin Leau
2011-05-18 17:43:13 +00:00
parent 1eaca65720
commit dadd0f57ee
5 changed files with 72 additions and 124 deletions

View File

@@ -29,7 +29,7 @@ public class ConcurrentCacheTest extends AbstractNativeCacheTest<ConcurrentMap<O
@Override
protected Cache createCache(ConcurrentMap<Object, Object> nativeCache) {
return new ConcurrentCache(nativeCache, CACHE_NAME);
return new ConcurrentMapCache(nativeCache, CACHE_NAME, true);
}
@Override