org.apache.commons.pool.impl
Class TestSoftRefOutOfMemory.LargePoolableObjectFactory

java.lang.Object
  extended by org.apache.commons.pool.impl.TestSoftRefOutOfMemory.LargePoolableObjectFactory
All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory
Enclosing class:
TestSoftRefOutOfMemory

public static class TestSoftRefOutOfMemory.LargePoolableObjectFactory
extends Object
implements org.apache.commons.pool.PoolableObjectFactory


Constructor Summary
TestSoftRefOutOfMemory.LargePoolableObjectFactory(int size)
           
 
Method Summary
 void activateObject(Object obj)
           
 void destroyObject(Object obj)
           
 Object makeObject()
           
 void passivateObject(Object obj)
           
 boolean validateObject(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSoftRefOutOfMemory.LargePoolableObjectFactory

public TestSoftRefOutOfMemory.LargePoolableObjectFactory(int size)
Method Detail

makeObject

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

validateObject

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

activateObject

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

passivateObject

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

destroyObject

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


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.