haskey-0.1.0.0: A transcatoinal, ACID compliant, embeddable key-value store.

Safe HaskellNone
LanguageHaskell2010

Database.Haskey.Alloc.Concurrent.FreePages.Save

Synopsis

Documentation

saveFreePages :: AllocM m => TxId -> FileState t -> m FreeTree Source #

Save the free pages from the dirty page list and the free page cache.

saveNewlyFreedPages :: AllocM m => TxId -> FileState t -> FreeTree -> m FreeTree Source #

Save the newly free pages of the current transaction, as stored by writerNewlyFreedPages.

saveCachedFreePages :: AllocM m => FileState t -> FreeTree -> m FreeTree Source #

Save the free apges from the free page cache in writerReusablePages using writerReuseablePagesTxId.