Trees | Indices | Help |
|
---|
|
twisted.enterprise.adbapi.ConnectionPool --+ | ExpiringConnectionPool
A Connection pool that expires connections after a certain amount of idle time.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
Inherited from |
Instance Variables | |
Inherited from |
Method Details |
Create a new ConnectionPool. Any positional or keyword arguments other than those documented here are passed to the DB-API object when connecting. Use these arguments to pass database names, usernames, passwords, etc.
|
Return a database connection when one becomes available. This method blocks and should be run in a thread from the internal threadpool. Don't call this method directly from non-threaded code. Using this method outside the external threadpool may exceed the maximum number of connections in the pool.
|
Disconnect a database connection associated with this pool. Note: This function should only be used by the same thread which called connect(). As with connect(), this function is not used in normal non-threaded twisted code.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 29 10:00:41 2010 | http://epydoc.sourceforge.net |