org.firebirdsql.pool
Interface PooledObject

All Known Implementing Classes:
PingablePooledConnection

public interface PooledObject

Represents an object that can be stored in the pool. * * @author Roman Rokytskyy


Method Summary
 void deallocate()
          Deallocate this object.
 boolean isValid()
          Check if this pooled object is still valid
 

Method Detail

deallocate

public void deallocate()
Deallocate this object. This method deallocated the object * and releases all associated resources. This method is invoked when * object pool is shutdown and is needed to gracefully release resources.


isValid

public boolean isValid()
Check if this pooled object is still valid. * * @return true when the object is valid.



Copyright © 2001 David Jencks and other authors. All rights reserved.