public static void setMinCacheSize(String cacheName, long size) {
        cacheName = cacheName.replaceAll(" ", "");
        if ( !Long.toString(size).equals(JiveGlobals.getProperty(PROPERTY_PREFIX_CACHE + cacheName + PROPERTY_SUFFIX_MIN)))
        {
            JiveGlobals.setProperty(PROPERTY_PREFIX_CACHE + cacheName + PROPERTY_SUFFIX_MIN, Long.toString(size));
        }
    }
Sets a local property which overrides the maximum cache entry lifetime
for the supplied cache name.
@param cacheName the name of the cache to store a value for.
@param lifetime the maximum cache entry lifetime.
xmppserver/src/main/java/org/jivesoftware/util/cache/CacheFactory.java