@Override
            public void propertySet( String property, Map<String, Object> params )
            {
                final Cache cache = getCacheByProperty( property );
                if ( cache == null )
                {
                    return;
                }

                if (property.endsWith(PROPERTY_SUFFIX_SIZE))
                {
                    final long size = getMaxCacheSize( cache.getName() );
                    cache.setMaxCacheSize( size );
                }

                if (property.endsWith(PROPERTY_SUFFIX_MAX_LIFE_TIME))
                {
                    final long lifetime = getMaxCacheLifetime( cache.getName() );
                    cache.setMaxLifetime( lifetime );
                }

                // Note that changes to 'min' and 'type' cannot be applied runtime - a restart is required for those.
            }
Default properties to use for local caches. Default properties can be overridden
by setting the corresponding system properties.
xmppserver/src/main/java/org/jivesoftware/util/cache/CacheFactory.java