def cleanupPool(): """ Cleanup connection pool. Closing all inactive connections. @author: Nick Verbeck @since: 9/12/2008 """ PySQLPool.PySQLPool().Cleanup()
def terminatePool(): """ Terminate all Connection @author: Nick Verbeck @since: 5/12/2008 """ PySQLPool.PySQLPool().Terminate()
def commitPool(): """ Commits All changes in pool @author: Nick Verbeck @since: 9/12/2008 """ PySQLPool.PySQLPool().Commit()
def getNewPool(): """ Create a new PySQLPool @author: Nick Verbeck @since: 5/12/2008 """ return PySQLPool.PySQLPool()