Trees Indices Help
Trac
Package trac :: Package db :: Module pool :: Class PooledConnection

Class PooledConnection

source code

 object --+ 
 | 
util.ConnectionWrapper --+
 |
 PooledConnection

A database connection that can be pooled. When closed, it gets returned to the pool.
Instance Methods
__init__(self, pool, cnx, key, tid, log=None)
x.__init__(...) initializes x; see help(type(x)) for signature source code
close(self) source code
__del__(self) source code

Inherited from util.ConnectionWrapper : __getattr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from util.ConnectionWrapper : cnx , log

Inherited from object: __class__

Method Details

__init__(self, pool, cnx, key, tid, log=None)
(Constructor)

source code
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

Trees Indices Help
Trac

AltStyle によって変換されたページ (->オリジナル) /