com.liferay.portal.cache
Class EhcachePortalCacheManager

java.lang.Object
  extended by com.liferay.portal.cache.EhcachePortalCacheManager
All Implemented Interfaces:
com.liferay.portal.kernel.cache.PortalCacheManager

public class EhcachePortalCacheManager
extends java.lang.Object
implements com.liferay.portal.kernel.cache.PortalCacheManager

View Source

Author:
Joseph Shum, Raymond Augé, Michael C. Han

Constructor Summary
EhcachePortalCacheManager()
           
 
Method Summary
 void afterPropertiesSet()
           
 void clearAll()
           
 void destroy()
           
 com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name)
           
 com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name, boolean blocking)
           
protected  net.sf.ehcache.Ehcache replaceCacheWithDecoratedCache(net.sf.ehcache.Ehcache cache)
           
 void setConfigPropertyKey(java.lang.String configPropertyKey)
           
 void setMBeanServer(javax.management.MBeanServer server)
           
 void setRegisterCacheConfigurations(boolean registerCacheConfigurations)
           
 void setRegisterCacheManager(boolean registerCacheManager)
           
 void setRegisterCaches(boolean registerCaches)
           
 void setRegisterCacheStatistics(boolean registerCacheStatistics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcachePortalCacheManager

public EhcachePortalCacheManager()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

clearAll

public void clearAll()
Specified by:
clearAll in interface com.liferay.portal.kernel.cache.PortalCacheManager

destroy

public void destroy()
             throws java.lang.Exception
Throws:
java.lang.Exception

getCache

public com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name)
Specified by:
getCache in interface com.liferay.portal.kernel.cache.PortalCacheManager

getCache

public com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name,
                                                            boolean blocking)
Specified by:
getCache in interface com.liferay.portal.kernel.cache.PortalCacheManager

setConfigPropertyKey

public void setConfigPropertyKey(java.lang.String configPropertyKey)

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer server)

setRegisterCacheConfigurations

public void setRegisterCacheConfigurations(boolean registerCacheConfigurations)

setRegisterCacheManager

public void setRegisterCacheManager(boolean registerCacheManager)

setRegisterCaches

public void setRegisterCaches(boolean registerCaches)

setRegisterCacheStatistics

public void setRegisterCacheStatistics(boolean registerCacheStatistics)

replaceCacheWithDecoratedCache

protected net.sf.ehcache.Ehcache replaceCacheWithDecoratedCache(net.sf.ehcache.Ehcache cache)