acid-state-0.16.0: Add ACID guarantees to any serializable Haskell data structure.

Safe HaskellNone
LanguageHaskell2010

Data.Acid.Log

Documentation

data FileLog object Source #

Constructors

FileLog 

data LogKey object Source #

openFileLog :: LogKey object -> IO (FileLog object) Source #

closeFileLog :: FileLog object -> IO () Source #

pushEntry :: FileLog object -> object -> IO () -> IO () Source #

pushAction :: FileLog object -> IO () -> IO () Source #

readEntriesFrom :: FileLog object -> EntryId -> IO [object] Source #

rollbackTo :: LogKey object -> EntryId -> IO () Source #

rollbackWhile :: LogKey object -> (object -> Bool) -> IO () Source #

newestEntry :: LogKey object -> IO (Maybe object) Source #