Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal interface for the Cache handle. In general you are not interested in this module and should use public API from the System.Cache instead, unless:
- you need to implement your own handle,
- you need to use internal functions like
remove
, - you need to provide your own
getClockTime
implementation
Documentation
The public interface for the cache values storage.
A storage is expected to provide the following properties:
- If the function return succesfully then the result should be cached for a time period, All later calls should return the cached value.
- In case of the concurrent actions an implementation should be the best effort to avoid reduntant calls
Handle | |
|
Configuration for Cache
See System.Cache.Internal.Interface for all details on the fields.
Config | |
|