Part of twisted.persisted.journal.base View Source View In Hierarchy
All commands to the system get routed through here.Subclasses should implement the actual snapshotting capability.
|Method||updateFromLog||Run all commands from log that haven't been run yet.|
|Method||executeCommand||Log and execute a command.|
|Method||getLastSnapshot||Return command index of the last snapshot taken.|
|Method||sync||Save journal to disk, returns Deferred of finish status.|
|Method||_reallyExecute||Callback called when logging command is done.|
Run all commands from log that haven't been run yet.This method should be run on startup to ensure the snapshot is up-to-date.