Liferay 6.1.2-ce-ga3

com.liferay.portal.cache.memcached
Class MemcachedClientPoolableObjectFactory

java.lang.Object
  extended by com.liferay.portal.cache.memcached.MemcachedClientPoolableObjectFactory
All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory

public class MemcachedClientPoolableObjectFactory
extends Object
implements org.apache.commons.pool.PoolableObjectFactory


Constructor Summary
MemcachedClientPoolableObjectFactory()
           
 
Method Summary
 void activateObject(Object obj)
           
 void destroyObject(Object obj)
           
 Object makeObject()
           
 void passivateObject(Object obj)
           
 void setAddresses(List<String> addresses)
           
 void setConnectionFactory(net.spy.memcached.ConnectionFactory connectionFactory)
           
 boolean validateObject(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemcachedClientPoolableObjectFactory

public MemcachedClientPoolableObjectFactory()
Method Detail

activateObject

public void activateObject(Object obj)
                    throws Exception
Specified by:
activateObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception

destroyObject

public void destroyObject(Object obj)
Specified by:
destroyObject in interface org.apache.commons.pool.PoolableObjectFactory

makeObject

public Object makeObject()
                  throws Exception
Specified by:
makeObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception

passivateObject

public void passivateObject(Object obj)
                     throws Exception
Specified by:
passivateObject in interface org.apache.commons.pool.PoolableObjectFactory
Throws:
Exception

setAddresses

public void setAddresses(List<String> addresses)

setConnectionFactory

public void setConnectionFactory(net.spy.memcached.ConnectionFactory connectionFactory)

validateObject

public boolean validateObject(Object obj)
Specified by:
validateObject in interface org.apache.commons.pool.PoolableObjectFactory

Liferay 6.1.2-ce-ga3