public static long getMaxCacheSize(String cacheName) {
        return getCacheProperty(cacheName, PROPERTY_SUFFIX_SIZE, DEFAULT_MAX_CACHE_SIZE);
    }
If a local property is found for the supplied name which specifies a value for cache size, it is returned.
Otherwise, the defaultSize argument is returned.

@param cacheName the name of the cache to look up a corresponding property for.
@return either the property value or the default value.
xmppserver/src/main/java/org/jivesoftware/util/cache/CacheFactory.java