Safe Haskell | None |
---|---|
Language | Haskell98 |
Cache hash database.
On-memory database with definable size, and with a LRU algorithm for eviction.
- Persistence: volatile
- Algorithm: hash table
- Complexity: O(1)
- Sequence: undefined
- Lock unit: record (mutex)
- data CacheHash
- data CacheHashOptions = CacheHashOptions {}
- defaultCacheHashOptions :: CacheHashOptions
- data Compressor
- data Options = Compress
- makeCacheHash :: LoggingOptions -> CacheHashOptions -> Mode -> IO CacheHash
Documentation
data Compressor Source
Compression algorithm used. DEFLATE
is the default one.
General tuning options
Compress | Enable compression of the keys and the values |
makeCacheHash :: LoggingOptions -> CacheHashOptions -> Mode -> IO CacheHash Source