com.liferay.portal.cache.memcached
Class MemcachePortalCacheManager<V>
java.lang.Object
com.liferay.portal.cache.memcached.MemcachePortalCacheManager<V>
- All Implemented Interfaces:
- PortalCacheManager<String,V>
public class MemcachePortalCacheManager<V>
- extends Object
- implements PortalCacheManager<String,V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemcachePortalCacheManager
public MemcachePortalCacheManager()
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)