Readonly
readyCache is ready to use
Readonly
sizeReadonly
storeExposes Store.query
Optional
include_store: booleandelete key
in store
deleted_from_map || (include_store && deleted_from_store)
Get value by key.
Optional
include_store: booleanif key
is not found in the cache, then search the store.
If found in the store, automatically load it into the cache.
Optional
include_store: booleanif key
is not found in the cache, then search the store.
Insert items into the store.
Adds a new element with a specified key and value to the Cache.
If an element with the same key already exists, the element will be updated.
If the insertion of the element makes the cache larger than max_size
, the first pushed element is flushed to store.
If a string key is passed, a new Key
instance will be generated.
Static
startGenerated using TypeDoc
Utility to query through map keys