Liferay 6.1.2-ce-ga3

com.liferay.portal.cache.memcached
Class DefaultMemcachedClientFactory

java.lang.Object
  extended by com.liferay.portal.cache.memcached.DefaultMemcachedClientFactory
All Implemented Interfaces:
MemcachedClientFactory

public class DefaultMemcachedClientFactory
extends Object
implements MemcachedClientFactory


Constructor Summary
DefaultMemcachedClientFactory()
           
 
Method Summary
 void clear()
           
 void close()
           
 net.spy.memcached.MemcachedClientIF getMemcachedClient()
           
 int getNumActive()
           
 int getNumIdle()
           
 void invalidateMemcachedClient(net.spy.memcached.MemcachedClientIF memcachedClient)
           
 void returnMemcachedObject(net.spy.memcached.MemcachedClientIF memcachedClient)
           
 void setAddresses(List<String> addresses)
           
 void setConnectionFactory(net.spy.memcached.ConnectionFactory connectionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMemcachedClientFactory

public DefaultMemcachedClientFactory()
Method Detail

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)

Liferay 6.1.2-ce-ga3