haskoin-store-0.50.2: Storage and index for Bitcoin and Bitcoin Cash
Safe HaskellNone
LanguageHaskell2010

Haskoin.Store.Cache

Documentation

data CacheConfig Source #

Instances

Instances details
(MonadUnliftIO m, MonadLoggerIO m, StoreReadExtra m) => StoreReadExtra (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

(MonadUnliftIO m, MonadLoggerIO m, StoreReadBase m) => StoreReadBase (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

data CacheError Source #

Instances

Instances details
Eq CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Show CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Generic CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Associated Types

type Rep CacheError :: Type -> Type #

Exception CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

NFData CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Methods

rnf :: CacheError -> () #

type Rep CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

type Rep CacheError = D1 ('MetaData "CacheError" "Haskoin.Store.Cache" "haskoin-store-0.50.2-inplace" 'False) (C1 ('MetaCons "RedisError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Reply)) :+: (C1 ('MetaCons "RedisTxError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :+: C1 ('MetaCons "LogicError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String))))

newCacheThreads :: MonadIO m => Int -> m CacheThreads Source #

type CacheWriter = Mailbox CacheWriterMessage Source #

type CacheWriterInbox = Inbox CacheWriterMessage Source #