com.liferay.portal.cache.memcached
Class DefaultMemcachedClientFactory
java.lang.Object
com.liferay.portal.cache.memcached.DefaultMemcachedClientFactory
- All Implemented Interfaces:
- MemcachedClientFactory
public class DefaultMemcachedClientFactory
- extends Object
- implements MemcachedClientFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMemcachedClientFactory
public DefaultMemcachedClientFactory()
clear
public void clear()
- Specified by:
clear
in interface MemcachedClientFactory
close
public void close()
- Specified by:
close
in interface MemcachedClientFactory
getMemcachedClient
public net.spy.memcached.MemcachedClientIF getMemcachedClient()
throws Exception
- Specified by:
getMemcachedClient
in interface MemcachedClientFactory
- Throws:
Exception
getNumActive
public int getNumActive()
- Specified by:
getNumActive
in interface MemcachedClientFactory
getNumIdle
public int getNumIdle()
- Specified by:
getNumIdle
in interface MemcachedClientFactory
invalidateMemcachedClient
public void invalidateMemcachedClient(net.spy.memcached.MemcachedClientIF memcachedClient)
- Specified by:
invalidateMemcachedClient
in interface MemcachedClientFactory
returnMemcachedObject
public void returnMemcachedObject(net.spy.memcached.MemcachedClientIF memcachedClient)
- Specified by:
returnMemcachedObject
in interface MemcachedClientFactory
setAddresses
public void setAddresses(List<String> addresses)
setConnectionFactory
public void setConnectionFactory(net.spy.memcached.ConnectionFactory connectionFactory)