@Override
    public Cache createCache(String name) {
        // Get cache configuration from system properties or default (hardcoded) values
        long maxSize = CacheFactory.getMaxCacheSize(name);
        long lifetime = CacheFactory.getMaxCacheLifetime(name);
        // Create cache with located properties
        return new DefaultCache(name, maxSize, lifetime);
    }
CacheFactoryStrategy for use in Openfire. It creates and manages local caches, and it's cluster
related method implementations do nothing.

@see Cache
@see CacheFactory
xmppserver/src/main/java/org/jivesoftware/util/cache/DefaultLocalCacheStrategy.java