Uses of Class
org.sadun.util.pool2.ObjectPool

Packages that use ObjectPool
org.sadun.util.pool2 NOT COMPLETE YET.  
 

Uses of ObjectPool in org.sadun.util.pool2
 

Methods in org.sadun.util.pool2 that return ObjectPool
 ObjectPool BasePooledObject.getObjectPool()
          Returns the objectPool.
 

Methods in org.sadun.util.pool2 with parameters of type ObjectPool
protected  void DefaultPassivationManager.createState(ObjectPool pool, PooledObject obj)
           
protected  void DefaultPassivationManager.removeState(ObjectPool pool, PooledObject obj)
           
protected  void DefaultPassivationManager.handleInvoked(ObjectPool pool, PooledObject obj)
           
protected  boolean DefaultPassivationManager.isToPassivate(ObjectPool pool, PooledObject obj, java.lang.Object preparationResult)
           
protected  void DefaultPassivationManager.handleAcquired(ObjectPool pool, PooledObject obj)
           
protected  void DefaultPassivationManager.handleReleased(ObjectPool pool, PooledObject obj)
           
protected  java.lang.Object DefaultPassivationManager.prepareForPassivationCheck(ObjectPool pool)
           
 void BasePassivationManager.addPool(ObjectPool pool)
          Add an ObjectPool to monitor.
protected abstract  void BasePassivationManager.createState(ObjectPool pool, PooledObject obj)
          Used by a subclass to define an state information for a certain object belonging to a certain pool when a pool is added to the monitored set
protected abstract  void BasePassivationManager.removeState(ObjectPool pool, PooledObject obj)
          Used by a subclass to remove the state information for a certain object belonging to a certain pool when a pool is removed from the monitored set
 void BasePassivationManager.removePool(ObjectPool pool)
          Remove an ObjectPool from monitoring.
protected abstract  java.lang.Object BasePassivationManager.prepareForPassivationCheck(ObjectPool pool)
          This method is invoked just before a pool is checked for passivation, and therefore before any isToPassivate() is invoked.
protected abstract  boolean BasePassivationManager.isToPassivate(ObjectPool pool, PooledObject obj, java.lang.Object preparationResult)
          This method is invoked to check whether an object is to passivate or not.
protected abstract  void BasePassivationManager.handleInvoked(ObjectPool pool, PooledObject obj)
          This method is is used by the subclass to determine what to do when a pooled object is actually invoked.
protected abstract  void BasePassivationManager.handleAcquired(ObjectPool pool, PooledObject obj)
          This method is used by the subclass to determine what to do when a pooled object is aquired.
protected abstract  void BasePassivationManager.handleReleased(ObjectPool pool, PooledObject obj)
          This method is invoked by the pool when a pooled object is released.
 

Constructors in org.sadun.util.pool2 with parameters of type ObjectPool
ObjectPool.PooledObjectFactory(ObjectPool pool, ObjectPool.Factory factory)
          Create a factory which is used by the given ObjectPool and employs the given org.sadun.util.pool.ObjectPool.Factory
DefaultPassivationManager(ObjectPool pool, java.lang.String name, int sleepTime)
          Constructor for DefaultPassivationManager.
BasePooledObject(ObjectPool objectPool, java.lang.Object original)
           
BasePassivationManager(ObjectPool pool, java.lang.String name, int sleepTime)
          Build a passivation thread monitoring the given pool, with the given thread name and having the given sleep time.