public class PluginCacheRegistry extends Object
Modifier and Type | Method and Description |
---|---|
CacheInfo |
getCacheInfo(String name) |
static PluginCacheRegistry |
getInstance() |
void |
registerCache(String pluginName,
CacheInfo info)
Registers cache configuration data for a give cache and plugin.
|
void |
unregisterCaches(String pluginName)
Unregisters all caches for the given plugin.
|
public static PluginCacheRegistry getInstance()
public void registerCache(String pluginName, CacheInfo info)
pluginName
- the name of the plugin which will use the cache.info
- the cache configuration data.public void unregisterCaches(String pluginName)
pluginName
- the name of the plugin whose caches will be unregistered.Copyright © 2003-2008 Jive Software.