| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Server.Cache.Types
Description
Metadata retention budgets, source identities, and full fetch values.
Synopsis
- data StoreBudget = StoreBudget {
- sbMinEntries :: Int
- sbMinBytes :: Int
- data CacheConfig = CacheConfig {}
- newtype Source = Source Text
- data CacheEntry = CacheEntry {}
Documentation
data StoreBudget Source #
Retention floors, used only to stop a store evicting its own live entries.
Constructors
| StoreBudget | |
Fields
| |
Instances
| Show StoreBudget Source # | |
Defined in Ecluse.Core.Server.Cache.Types Methods showsPrec :: Int -> StoreBudget -> ShowS # show :: StoreBudget -> String # showList :: [StoreBudget] -> ShowS # | |
| Eq StoreBudget Source # | |
Defined in Ecluse.Core.Server.Cache.Types | |
data CacheConfig Source #
Retention bounds and the TTL for the local selected-version and assembled stores.
Constructors
| CacheConfig | |
Fields
| |
Instances
| Show CacheConfig Source # | |
Defined in Ecluse.Core.Server.Cache.Types Methods showsPrec :: Int -> CacheConfig -> ShowS # show :: CacheConfig -> String # showList :: [CacheConfig] -> ShowS # | |
| Eq CacheConfig Source # | |
Defined in Ecluse.Core.Server.Cache.Types | |
An upstream base URL partitions entries without carrying credentials.
data CacheEntry Source #
A typed view paired with its source representation and complete fetch digest.
Constructors
| CacheEntry | |
Fields
| |
Instances
| Show CacheEntry Source # | |
Defined in Ecluse.Core.Server.Cache.Types Methods showsPrec :: Int -> CacheEntry -> ShowS # show :: CacheEntry -> String # showList :: [CacheEntry] -> ShowS # | |
| Eq CacheEntry Source # | |
Defined in Ecluse.Core.Server.Cache.Types | |