org.postgresql.pljava
Interface ObjectPool
public interface ObjectPool
activateInstance
public PooledObject activateInstance()
throws SQLException
Obtain a pooled object. A new instance is created if needed. The pooled
object is removed from the pool and activated.
- A new object or an object found in the pool.
passivateInstance
public void passivateInstance(PooledObject instance)
throws SQLException
instance
- The instance to passivate.
removeInstance
public void removeInstance(PooledObject instance)
throws SQLException
Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
Distributed under the terms shown in COPYRIGHT