org.xerial.db.sql
Interface ConnectionPool

All Known Implementing Classes:
ConnectionPoolImpl, NaiveConnectionPool

public interface ConnectionPool


Method Summary
 void closeAll()
           
 Connection getConnection()
           
 void returnConnection(Connection leasedConnection)
           
 

Method Detail

getConnection

Connection getConnection()
                         throws DBException
Throws:
DBException

returnConnection

void returnConnection(Connection leasedConnection)

closeAll

void closeAll()
              throws DBException
Throws:
DBException


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.