Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Exception (PersistException db) => Persist db where Source #
data PersistConfig db Source #
data PersistException db Source #
newPersist :: PersistConfig db -> IO db Source #
member :: db -> State -> FuncName -> JobName -> IO Bool Source #
lookup :: db -> State -> FuncName -> JobName -> IO (Maybe Job) Source #
insert :: db -> State -> FuncName -> JobName -> Job -> IO () Source #
delete :: db -> FuncName -> JobName -> IO () Source #
size :: db -> State -> FuncName -> IO Int64 Source #
foldr :: forall a. db -> State -> (Job -> a -> a) -> a -> IO a Source #
foldrPending :: forall a. db -> Int64 -> [FuncName] -> (Job -> a -> a) -> a -> IO a Source #
foldrLocking :: forall a. db -> Int -> FuncName -> (Job -> a -> a) -> a -> IO a Source #
dumpJob :: db -> IO [Job] Source #
configGet :: db -> String -> IO (Maybe Int) Source #
configSet :: db -> String -> Int -> IO () Source #
insertFuncName :: db -> FuncName -> IO () Source #
removeFuncName :: db -> FuncName -> IO () Source #