Trees | Indices | Help |
|
---|
|
twisted.python.threadpool.ThreadPool --+ | DBThreadPool
A pool of threads ready and waiting to execute queries.
If the engine has an optimal_thread_pool_size
attribute,
then the maxthreads of the thread pool will be set to that value. This
is most useful for SQLite in-memory connections, where exactly one
connection (and thus thread) should be used.
Nested Classes | |
Inherited from |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Static Methods | |
Inherited from |
Class Variables | |
running = False
|
|
Inherited from |
Method Details |
Create a new threadpool.
|
Manually stop the pool. This is only necessary from tests, as the pool will stop itself when the reactor stops under normal circumstances. |
Call Note: do not return any SQLAlchemy objects via this deferred! |
Like do, but with an SQLAlchemy Engine as the first argument. This is only used for schema manipulation, and is not used at master runtime. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 17 13:45:20 2011 | http://epydoc.sourceforge.net |