Part of twisted.persisted.journal.rowjournal View Source View In Hierarchy
Journal that stores data 'snapshot' in using twisted.enterprise.row.
Use this as the reflector instead of the original reflector.
It may block on creation, if it has to run recovery.Method | __init__ | Undocumented |
Method | updateRow | Mark on object for updating when sync()ing. |
Method | insertRow | Mark on object for inserting when sync()ing. |
Method | deleteRow | Mark on object for deleting when sync()ing. |
Method | loadObjectsFrom | Flush all objects to the database and then load objects. |
Method | sync | Commit changes to database. |
Method | getLastSnapshot | Return command index of last snapshot. |
Method | _sync | Do the actual database synchronization. |
Method | _syncDone | Undocumented |
Inherited from Journal:
Method | updateFromLog | Run all commands from log that haven't been run yet. |
Method | executeCommand | Log and execute a command. |
Method | _reallyExecute | Callback called when logging command is done. |