class documentation
class DummyConnectionPool(ConnectionPool): (source)
A testable ConnectionPool
;
Method | __init__ |
Don't forward init call. |
Class Variable | threadpool |
Undocumented |
Instance Variable | _reactor |
Undocumented |
Inherited from ConnectionPool
:
Method | __getstate__ |
Undocumented |
Method | __setstate__ |
Undocumented |
Method | close |
Close all pool connections and shutdown the pool. |
Method | connect |
Return a database connection when one becomes available. |
Method | disconnect |
Disconnect a database connection associated with this pool. |
Method | final |
This should only be called by the shutdown trigger. |
Method | run |
Interact with the database and return the result. |
Method | run |
Execute an SQL query and return None . |
Method | run |
Execute an SQL query and return the result. |
Method | run |
Execute a function with a database connection and return the result. |
Method | start |
Start the connection pool. |
Constant | CP |
Undocumented |
Class Variable | good |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | noisy |
Undocumented |
Class Variable | openfun |
Undocumented |
Class Variable | reconnect |
Undocumented |
Instance Variable | __dict__ |
Undocumented |
Instance Variable | connargs |
Undocumented |
Instance Variable | connection |
factory for connections, default to Connection . |
Instance Variable | connections |
Undocumented |
Instance Variable | connkw |
Undocumented |
Instance Variable | dbapi |
Undocumented |
Instance Variable | dbapi |
Undocumented |
Instance Variable | max |
Undocumented |
Instance Variable | min |
Undocumented |
Instance Variable | running |
Undocumented |
Instance Variable | shutdown |
None or a handle on the shutdown event trigger which will be used to stop the connection pool workers when the reactor stops. |
Instance Variable | start |
Undocumented |
Instance Variable | thread |
Undocumented |
Instance Variable | transaction |
factory for transactions, default to Transaction . |
Method | _close |
Undocumented |
Method | _run |
Undocumented |
Method | _run |
Undocumented |
Method | _run |
Undocumented |
Method | _run |
Undocumented |
Method | _start |
Undocumented |