com.liferay.portal.cache.memcached
Class MemcachePortalCacheManager

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

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

View Source

Author:
Michael C. Han

Constructor Summary
MemcachePortalCacheManager()
           
 
Method Summary
 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

MemcachePortalCacheManager

public MemcachePortalCacheManager()
Method Detail

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

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)