haskey-0.3.0.2: A transactional, ACID compliant, embeddable key-value store.

Safe HaskellNone
LanguageHaskell2010

Database.Haskey.Alloc.Concurrent.Internal.Overflow

Description

Data structures and functions related to handling overflow pages.

Synopsis

Documentation

showHex' :: (Integral a, Show a) => a -> String Source #

readHex' :: (Eq a, Num a) => String -> Maybe (a, String) Source #

type OverflowTree = Tree TxId OverflowSubtree Source #

The main tree structure of the freed overflow page tree

type OverflowSubtree = NonEmptyTree OverflowId () Source #

The subtree structure of the freed overflow page tree

insertOverflowIds :: AllocM m => TxId -> NonEmpty OverflowId -> OverflowTree -> m OverflowTree Source #

Save a set of overflow ids that were free'd in the transaction.

deleteOverflowIds :: AllocM m => TxId -> OverflowTree -> m OverflowTree Source #

Delete the set of overflow ids that were free'd in the transaction.