Safe Haskell | None |
---|---|
Language | Haskell98 |
Database.KyotoCabinet.DB.CacheHash
Description
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 CacheHashOptions Source #
Constructors
CacheHashOptions | |
data Compressor Source #
Compression algorithm used. DEFLATE
is the default one.
Constructors
Zlib | The raw zlib compressor |
DEFLATE | zlib deflate compressor |
Gz | zlib gzip compressor |
LZO | LZO compressor |
LZMA | LZMA compressor |
Arc | Arcfour cipher |
Instances
General tuning options
Constructors
Compress | Enable compression of the keys and the values |
makeCacheHash :: LoggingOptions -> CacheHashOptions -> Mode -> IO CacheHash Source #