Auxiliary class for shared connections.
Definition at line 324 of file pooled_db.py.
◆ __init__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__init__ |
( |
|
self, |
|
|
|
con |
|
) |
| |
Create a shared connection.
con: the underlying SteadyDB connection
Definition at line 327 of file pooled_db.py.
◆ __eq__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ __ge__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__ge__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ __gt__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__gt__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ __le__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__le__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ __lt__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__lt__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ __ne__()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.__ne__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ share()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.share |
( |
|
self | ) |
|
Increase the share of this connection.
Definition at line 360 of file pooled_db.py.
◆ unshare()
def aestate.opera.DBPool.pooled_db.SharedDBConnection.unshare |
( |
|
self | ) |
|
Decrease the share of this connection.
Definition at line 364 of file pooled_db.py.
◆ con
aestate.opera.DBPool.pooled_db.SharedDBConnection.con |
◆ shared
aestate.opera.DBPool.pooled_db.SharedDBConnection.shared |
The documentation for this class was generated from the following file: