public String getCacheName() {
        return cacheName;
    }
Creates the configuration to use for the specified cache. Caches can be used when running
as a standalone application or when running in a cluster. When running in a cluster a few
extra configuration are going to be needed. Read {@link #getParams()} for more information.

@param cacheName name of the cache.
@param type type of cache to use when running in a cluster. Ignored when running as standalone.
@param params extra parameters that define cache properties like max size or expiration.
xmppserver/src/main/java/org/jivesoftware/openfire/container/CacheInfo.java