com.liferay.portal.cache
Class MemoryPortalCacheManager

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

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

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
MemoryPortalCacheManager()
           
 
Method Summary
 void afterPropertiesSet()
           
 void clearAll()
           
 com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name)
           
 com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name, boolean blocking)
           
 void setCacheInitialCapacity(int cacheInitialCapacity)
           
 void setCacheManagerInitialCapacity(int cacheManagerInitialCapacity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryPortalCacheManager

public MemoryPortalCacheManager()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

clearAll

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

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

setCacheInitialCapacity

public void setCacheInitialCapacity(int cacheInitialCapacity)

setCacheManagerInitialCapacity

public void setCacheManagerInitialCapacity(int cacheManagerInitialCapacity)