mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user