Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
ping :: (MonadUnliftIO m, Transport tp) => BaseClientT u tp m Bool Source #
submitJob_ :: (MonadUnliftIO m, Transport tp) => Job -> BaseClientT u tp m Bool Source #
submitJob :: (MonadUnliftIO m, Transport tp) => FuncName -> JobName -> Maybe Workload -> Maybe Int64 -> BaseClientT u tp m Bool Source #
runJob_ :: (MonadUnliftIO m, Transport tp) => Job -> BaseClientT u tp m (Maybe ByteString) Source #
runJob :: (MonadUnliftIO m, Transport tp) => FuncName -> JobName -> Maybe Workload -> BaseClientT u tp m (Maybe ByteString) Source #
type ClientT = BaseClientT () Source #
type ClientEnv = BaseClientEnv () Source #
open :: (MonadUnliftIO m, Transport tp) => TransportConfig tp -> m (ClientEnv tp) Source #
dropFunc :: (MonadUnliftIO m, Transport tp) => FuncName -> BaseClientT u tp m Bool Source #
removeJob :: (MonadUnliftIO m, Transport tp) => FuncName -> JobName -> BaseClientT u tp m Bool Source #
status :: (MonadUnliftIO m, Transport tp) => BaseClientT u tp m ByteString Source #
configGet :: (MonadUnliftIO m, Transport tp) => String -> BaseClientT u tp m Int Source #
configSet :: (MonadUnliftIO m, Transport tp) => String -> Int -> BaseClientT u tp m Bool Source #
load :: (MonadUnliftIO m, Transport tp) => [Job] -> BaseClientT u tp m Bool Source #
dump :: (MonadUnliftIO m, Transport tp) => BaseClientT u tp m [Job] Source #
shutdown :: (MonadUnliftIO m, Transport tp) => BaseClientT u tp m () Source #
type ClientPoolEnv tp = Pool (ClientEnv tp) Source #
runClientPoolT :: ClientPoolEnv tp -> ClientT tp IO a -> IO a Source #
openPool :: Transport tp => TransportConfig tp -> Int -> IO (ClientPoolEnv tp) Source #