Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package gadfly :: Module store :: Class DB_Logger |
|
quick and dirty global db logger.
Method Summary | |
---|---|
__init__(self,
filename,
backupname)
| |
__repr__(self)
| |
clear(self)
| |
clear_log_file(self)
| |
add commit, if appropriate, flush. | |
dump(self)
| |
transactionid of None means no transaction: immediate. | |
return log record as (index, (tid, op)) list... | |
recover(self,
db,
restart)
| |
restart(self)
| |
shutdown(self)
| |
startup(self)
|
Class Variable Summary | |
---|---|
int |
is_scratch = 0 |
int |
verbose = 0 |
Method Details |
---|
commit(self, verbose=0, transactionid=None)add commit, if appropriate, flush. |
log(self, operation, transactionid=None)transactionid of None means no transaction: immediate. |
read_records(self, file)return log record as (index, (tid, op)) list |
Class Variable Details |
---|
is_scratch
|
verbose
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:07 2003 | http://epydoc.sf.net |