foundationdb-haskell-0.1.0.0: FoundationDB C client bindings
Safe HaskellNone
LanguageHaskell2010

FoundationDB.Layer.Directory.Internal.HCA

Synopsis

Documentation

data HCA Source #

Constructors

HCA 

Instances

Instances details
Eq HCA Source # 
Instance details

Defined in FoundationDB.Layer.Directory.Internal.HCA

Methods

(==) :: HCA -> HCA -> Bool #

(/=) :: HCA -> HCA -> Bool #

Ord HCA Source # 
Instance details

Defined in FoundationDB.Layer.Directory.Internal.HCA

Methods

compare :: HCA -> HCA -> Ordering #

(<) :: HCA -> HCA -> Bool #

(<=) :: HCA -> HCA -> Bool #

(>) :: HCA -> HCA -> Bool #

(>=) :: HCA -> HCA -> Bool #

max :: HCA -> HCA -> HCA #

min :: HCA -> HCA -> HCA #

Show HCA Source # 
Instance details

Defined in FoundationDB.Layer.Directory.Internal.HCA

Methods

showsPrec :: Int -> HCA -> ShowS #

show :: HCA -> String #

showList :: [HCA] -> ShowS #

globalAllocateLock :: MVar () Source #

global lock used for allocating. We use this simply because the other clients have it. It appears to exist in order to reduce contention on the HCA counter at the transaction level by pushing some of the contention to the client level instead.