|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectPool
Method Summary | |
---|---|
PooledObject |
activateInstance()
Obtain a pooled object. |
void |
passivateInstance(PooledObject instance)
Call the PooledObject.passivate() method and return the object
to the pool. |
void |
removeInstance(PooledObject instance)
Call the PooledObject.remove() method and evict the object
from the pool. |
Method Detail |
---|
PooledObject activateInstance() throws SQLException
SQLException
void passivateInstance(PooledObject instance) throws SQLException
PooledObject.passivate()
method and return the object
to the pool.
instance
- The instance to passivate.
SQLException
void removeInstance(PooledObject instance) throws SQLException
PooledObject.remove()
method and evict the object
from the pool.
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |