@ 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