Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Network.JobQueue.Backend.Class
Documentation
class BackendQueue q where Source
Minimal complete definition
readQueue, peekQueue, updateQueue, deleteQueue, writeQueue, listQueue, itemsQueue, countQueue
Methods
readQueue :: q -> IO (Maybe (ByteString, String)) Source
peekQueue :: q -> IO (Maybe (ByteString, String, String, Int)) Source
updateQueue :: q -> String -> ByteString -> Int -> IO Bool Source
deleteQueue :: q -> String -> IO Bool Source
writeQueue :: q -> ByteString -> Int -> IO String Source
listQueue :: q -> IO [ByteString] Source
itemsQueue :: q -> IO [String] Source
countQueue :: q -> IO Int Source
closeQueue :: q -> IO () Source