com.liferay.portal.cache.memcached
Class PooledMemcachePortalCache
java.lang.Object
com.liferay.portal.kernel.cache.BasePortalCache
com.liferay.portal.cache.memcached.PooledMemcachePortalCache
- All Implemented Interfaces:
- PortalCache
public class PooledMemcachePortalCache
- extends BasePortalCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PooledMemcachePortalCache
public PooledMemcachePortalCache(String name,
MemcachedClientFactory memcachedClientFactory,
int timeout,
TimeUnit timeoutTimeUnit)
destroy
public void destroy()
- Specified by:
destroy
in interface PortalCache
- Overrides:
destroy
in class BasePortalCache
get
public Collection<Object> get(Collection<String> keys)
get
public Object get(String key)
put
public void put(String key,
Object obj)
put
public void put(String key,
Object obj,
int timeToLive)
put
public void put(String key,
Serializable obj)
put
public void put(String key,
Serializable obj,
int timeToLive)
remove
public void remove(String key)
removeAll
public void removeAll()
setTimeToLive
public void setTimeToLive(int timeToLive)
cleanupClient
protected void cleanupClient(net.spy.memcached.MemcachedClientIF memcachedClient)