Aestate
Public Member Functions | Private Attributes | List of all members
aestate.opera.DBPool.pooled_pg.PooledPgConnection Class Reference
Collaboration diagram for aestate.opera.DBPool.pooled_pg.PooledPgConnection:
Collaboration graph

Public Member Functions

def __init__ (self, pool, con)
 
def close (self)
 
def reopen (self)
 
def __getattr__ (self, name)
 
def __del__ (self)
 

Private Attributes

 _pool
 
 _con
 

Detailed Description

Proxy class for pooled PostgreSQL connections.

Definition at line 144 of file pooled_pg.py.

Constructor & Destructor Documentation

◆ __init__()

def aestate.opera.DBPool.pooled_pg.PooledPgConnection.__init__ (   self,
  pool,
  con 
)
Create a pooled DB-API 2 connection.

pool: the corresponding PooledPg instance
con: the underlying SteadyPg connection

Definition at line 147 of file pooled_pg.py.

◆ __del__()

def aestate.opera.DBPool.pooled_pg.PooledPgConnection.__del__ (   self)
Delete the pooled connection.

Definition at line 181 of file pooled_pg.py.

Here is the call graph for this function:

Member Function Documentation

◆ __getattr__()

def aestate.opera.DBPool.pooled_pg.PooledPgConnection.__getattr__ (   self,
  name 
)
Proxy all members of the class.

Definition at line 174 of file pooled_pg.py.

◆ close()

def aestate.opera.DBPool.pooled_pg.PooledPgConnection.close (   self)
Close the pooled connection.

Definition at line 156 of file pooled_pg.py.

Here is the caller graph for this function:

◆ reopen()

def aestate.opera.DBPool.pooled_pg.PooledPgConnection.reopen (   self)
Reopen the pooled connection.

Definition at line 164 of file pooled_pg.py.

Here is the caller graph for this function:

Member Data Documentation

◆ _con

aestate.opera.DBPool.pooled_pg.PooledPgConnection._con
private

Definition at line 154 of file pooled_pg.py.

◆ _pool

aestate.opera.DBPool.pooled_pg.PooledPgConnection._pool
private

Definition at line 153 of file pooled_pg.py.


The documentation for this class was generated from the following file: