Holumbus-Storage-0.0.1: a distributed storage systemSource codeContentsIndex
Holumbus.FileSystem.Controller
Portabilityportable
Stabilityexperimental
MaintainerStefan Schmidt (stefanschmidt@web.de)
Contents
Typeclass
Description
Version : 0.1
Synopsis
class ControllerClass c where
closeController :: c -> IO ()
getFileSites :: FileId -> c -> IO (Set SiteId)
containsFile :: FileId -> c -> IO Bool
getNearestNodePortWithFile :: FileId -> SiteId -> c -> IO (Maybe ClientPort)
getNearestNodePortForFile :: FileId -> Integer -> SiteId -> c -> IO (Maybe ClientPort)
createFile :: FileId -> IdType -> c -> IO ()
deleteFile :: FileId -> IdType -> c -> IO ()
appendFile :: FileId -> IdType -> c -> IO ()
Typeclass
class ControllerClass c whereSource
Methods
closeController :: c -> IO ()Source
getFileSites :: FileId -> c -> IO (Set SiteId)Source
containsFile :: FileId -> c -> IO BoolSource
getNearestNodePortWithFile :: FileId -> SiteId -> c -> IO (Maybe ClientPort)Source
getNearestNodePortForFile :: FileId -> Integer -> SiteId -> c -> IO (Maybe ClientPort)Source
createFile :: FileId -> IdType -> c -> IO ()Source
deleteFile :: FileId -> IdType -> c -> IO ()Source
appendFile :: FileId -> IdType -> c -> IO ()Source
show/hide Instances
Produced by Haddock version 2.4.2