extensions/memory/src/main/java/uk/co/tfd/sm/memory/ehcache/CacheManagerServiceImpl.java
@SuppressWarnings("unchecked")
  private <V> Cache<V> getRequestCache(String name) {
    Map<String, Cache<?>> requestCacheMap = requestCacheMapHolder.get();
    Cache<V> requestCache = (Cache<V>) requestCacheMap.get(name);
    if (requestCache == null) {
      requestCache = new MapCacheImpl<V>();
      requestCacheMap.put(name, requestCache);
    }
    return requestCache;
  }
@SuppressWarnings("unchecked")
  private <V> Cache<V> getRequestCache(String name) {
    Map<String, Cache<?>> requestCacheMap = requestCacheMapHolder.get();
    Cache<V> requestCache = (Cache<V>) requestCacheMap.get(name);
    if (requestCache == null) {
      requestCache = new MapCacheImpl<V>();
      requestCacheMap.put(name, requestCache);
    }
    return requestCache;
  }
@ SuppressWarnings ( "unchecked" ) private < V > Cache < V > getRequestCache ( String name ) { Map < String , Cache < ? > > requestCacheMap = requestCacheMapHolder . get ( ) ; Cache < V > requestCache = ( Cache < V > ) requestCacheMap . get ( name ) ; if ( requestCache == null ) { requestCache = new MapCacheImpl < V > ( ) ; requestCacheMap . put ( name , requestCache ) ; } return requestCache ; }
Generate a cache bound to the request

@param name
@return
Generate a cache bound to the request