@Override
    protected <K, V> Cache<K, V> createCache(String name) {
        return new MapCache<>(name, new SoftHashMap<>());
    }
Returns a new {@link MapCache MapCache} instance backed by a {@link SoftHashMap}.

@param name the name of the cache
@return a new {@link MapCache MapCache} instance backed by a {@link SoftHashMap}.
cache/src/main/java/org/apache/shiro/cache/MemoryConstrainedCacheManager.java