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

@param name
@return