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

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

public static class TestSoftRefOutOfMemory.LargePoolableObjectFactory
extends Object
implements 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 PoolableObjectFactory

validateObject

public boolean validateObject(Object obj)
Specified by:
validateObject in interface PoolableObjectFactory

activateObject

public void activateObject(Object obj)
Specified by:
activateObject in interface PoolableObjectFactory

passivateObject

public void passivateObject(Object obj)
Specified by:
passivateObject in interface PoolableObjectFactory

destroyObject

public void destroyObject(Object obj)
Specified by:
destroyObject in interface PoolableObjectFactory


Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.