The key to the value to clear from cache layers
If true write to levels below the persistence layer
If the write succeeded or the error condition
The key to the value to delete
If true write to all levels of hierarchy unconditionally
If the write succeeded or the error condition
The key to retrieve
If true force read from the top level instead of lower levels first
The value if it's in the cache or null
The keys that are currently in the cache
TODO shield entry of actual data into cache TODO Add method to get/set/delete/clear multiple keys to more efficiently load cache
The next value that's set to expire
Purge the cache of stale entries instead of waiting for a periodic check
A promise to track when the purge finishes
TODO Optionally return the set value since some layers may modify the object (MongoDB)
The key to set
The value to set
If true write to all levels of hierarchy unconditionally
If the write succeeded or the error condition
Generated using TypeDoc
Represents a cache the has a replacement policy. Note that age is not necessarily tied to time.