QuickServer
v1.4.7

org.quickserver.util.pool
Interface PoolableObject


public interface PoolableObject

Interface to be implemented by any user class of QuickServer so that QuickServer can create a pool of objects and reuse objects from that pool.

Since:
1.3

Method Summary
 org.apache.commons.pool.PoolableObjectFactory getPoolableObjectFactory()
          Will return a PoolableObjectFactory object for this Object implementation if it is poolable else will return null
 boolean isPoolable()
          Returns weather or not this Object impelementation can be pooled.
 

Method Detail

isPoolable

public boolean isPoolable()
Returns weather or not this Object impelementation can be pooled.


getPoolableObjectFactory

public org.apache.commons.pool.PoolableObjectFactory getPoolableObjectFactory()
Will return a PoolableObjectFactory object for this Object implementation if it is poolable else will return null


QuickServer
v1.4.7

Copyright © 2003-2006 QuickServer.org