org.jivesoftware.openfire.container
Class PluginCacheConfigurator
java.lang.Object
org.jivesoftware.openfire.container.PluginCacheConfigurator
public class PluginCacheConfigurator
- extends Object
A helper class to read cache configuration data for a plugin and register the defined caches with
the cache factory. Definitions should look something like this:
<cache-config>
<cache-mapping>
<cache-name>My Cache</cache-name>
<scheme-name>optimistic</scheme-name>
<init-params>
<init-param>
<param-name>back-size-high</param-name>
<param-value>131072</param-value>
</init-param>
<init-param>
<param-name>back-expiry</param-name>
<param-value>6h</param-value>
</init-param>
<init-param>
<param-name>back-size-low</param-name>
<param-value>117965</param-value>
</init-param>
</init-params>
</cache-mapping>
</cache-config>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginCacheConfigurator
public PluginCacheConfigurator()
setInputStream
public void setInputStream(InputStream configDataStream)
configure
public void configure(String pluginName)
Copyright © 2003-2008 Jive Software.