| Home | Trees | Index | Help |
|---|
|
|
object --+
|
AbstractConnectionPool --+
|
ThreadedConnectionPool
A connection pool that works with the threading module.
| Method Summary | |
|---|---|
Initialize the threading lock. | |
Close all connections (even the one currently in use.) | |
Get a free connection and assign it to 'key' if not None. | |
Put away an unused connection. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Method Details |
|---|
__init__(self,
minconn,
maxconn,
*args,
**kwargs)
|
closeall(self)Close all connections (even the one currently in use.) |
getconn(self, key=None)Get a free connection and assign it to 'key' if not None. |
putconn(self, conn=None, key=None, close=False)Put away an unused connection. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sat Jan 14 01:42:35 2006 | http://epydoc.sf.net |