com.liferay.portal.cache.memcached
Class PooledMemcachePortalCacheManager

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

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

View Source

Author:
Michael C. Han

Constructor Summary
PooledMemcachePortalCacheManager()
           
 
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)
           
 void setDebug(boolean debug)
           
 void setMemcachedClientPool(MemcachedClientFactory memcachedClientFactory)
           
 void setTimeout(int timeout)
           
 void setTimeoutTimeUnit(java.lang.String timeoutTimeUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PooledMemcachePortalCacheManager

public PooledMemcachePortalCacheManager()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

destroy

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

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

setDebug

public void setDebug(boolean debug)

setMemcachedClientPool

public void setMemcachedClientPool(MemcachedClientFactory memcachedClientFactory)

setTimeout

public void setTimeout(int timeout)

setTimeoutTimeUnit

public void setTimeoutTimeUnit(java.lang.String timeoutTimeUnit)