Package gavo :: Package base :: Module sqlsupport :: Class CustomConnectionPool
[frames] | no frames]

Class CustomConnectionPool

source code

                          object --+        
                                   |        
psycopg2.pool.AbstractConnectionPool --+    
                                       |    
    psycopg2.pool.ThreadedConnectionPool --+
                                           |
                                          CustomConnectionPool

A threaded connection pool that returns connections made via profileName.

Instance Methods
 
__init__(self, minconn, maxconn, profileName, autocommitted=True)
Initialize the threading lock.
source code

Inherited from psycopg2.pool.ThreadedConnectionPool: closeall, getconn, putconn

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

Class Methods
 
serverRestarted(cls) source code
Class Variables
  knownPools = []
Properties

Inherited from object: __class__

Method Details

__init__(self, minconn, maxconn, profileName, autocommitted=True)
(Constructor)

source code 

Initialize the threading lock.

Overrides: object.__init__
(inherited documentation)