Liferay 6.2-ce-ga5

com.liferay.portal.cache.memcached
Class MemcachePortalCacheManager<V>

java.lang.Object
  extended by com.liferay.portal.cache.memcached.MemcachePortalCacheManager<V>
All Implemented Interfaces:
PortalCacheManager<String,V>

public class MemcachePortalCacheManager<V>
extends Object
implements PortalCacheManager<String,V>


Constructor Summary
MemcachePortalCacheManager()
           
 
Method Summary
 void clearAll()
           
 void destroy()
           
 PortalCache<String,V> getCache(String name)
           
 PortalCache<String,V> getCache(String name, boolean blocking)
           
 void reconfigureCaches(URL configurationURL)
           
 void removeCache(String name)
           
 void setMemcachedClientPool(MemcachedClientFactory memcachedClientFactory)
           
 void setTimeout(int timeout)
           
 void setTimeoutTimeUnit(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 PortalCacheManager<String,V>

destroy

public void destroy()
             throws Exception
Throws:
Exception

getCache

public PortalCache<String,V> getCache(String name)
Specified by:
getCache in interface PortalCacheManager<String,V>

getCache

public PortalCache<String,V> getCache(String name,
                                      boolean blocking)
Specified by:
getCache in interface PortalCacheManager<String,V>

reconfigureCaches

public void reconfigureCaches(URL configurationURL)
Specified by:
reconfigureCaches in interface PortalCacheManager<String,V>

removeCache

public void removeCache(String name)
Specified by:
removeCache in interface PortalCacheManager<String,V>

setMemcachedClientPool

public void setMemcachedClientPool(MemcachedClientFactory memcachedClientFactory)

setTimeout

public void setTimeout(int timeout)

setTimeoutTimeUnit

public void setTimeoutTimeUnit(String timeoutTimeUnit)

Liferay 6.2-ce-ga5