com.liferay.portal.cache.ehcache
Class EhcachePortalCacheManager
java.lang.Object
com.liferay.portal.cache.ehcache.EhcachePortalCacheManager
- All Implemented Interfaces:
- PortalCacheManager
public class EhcachePortalCacheManager
- extends Object
- implements PortalCacheManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcachePortalCacheManager
public EhcachePortalCacheManager()
afterPropertiesSet
public void afterPropertiesSet()
clearAll
public void clearAll()
- Specified by:
clearAll in interface PortalCacheManager
destroy
public void destroy()
throws Exception
- Throws:
Exception
getCache
public PortalCache getCache(String name)
- Specified by:
getCache in interface PortalCacheManager
getCache
public PortalCache getCache(String name,
boolean blocking)
- Specified by:
getCache in interface PortalCacheManager
getEhcacheManager
public net.sf.ehcache.CacheManager getEhcacheManager()
reconfigureCaches
public void reconfigureCaches(URL configurationURL)
- Specified by:
reconfigureCaches in interface PortalCacheManager
removeCache
public void removeCache(String name)
- Specified by:
removeCache in interface PortalCacheManager
setClusterAware
public void setClusterAware(boolean clusterAware)
setConfigPropertyKey
public void setConfigPropertyKey(String configPropertyKey)
setMBeanServer
public void setMBeanServer(MBeanServer mBeanServer)
setRegisterCacheConfigurations
public void setRegisterCacheConfigurations(boolean registerCacheConfigurations)
setRegisterCacheManager
public void setRegisterCacheManager(boolean registerCacheManager)
setRegisterCaches
public void setRegisterCaches(boolean registerCaches)
setRegisterCacheStatistics
public void setRegisterCacheStatistics(boolean registerCacheStatistics)
addCache
protected PortalCache addCache(String name,
net.sf.ehcache.Cache cache)