|
|||||||||
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 java.sql.SQLException
java.sql.SQLException
void passivateInstance(PooledObject instance) throws java.sql.SQLException
PooledObject.passivate()
method and return the object
to the pool.
instance
- The instance to passivate.
java.sql.SQLException
void removeInstance(PooledObject instance) throws java.sql.SQLException
PooledObject.remove()
method and evict the object
from the pool.
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |