- add
bool add(K key, V value, bool update)
Undocumented in source. Be warned that the author may not have intended to support it.
- contains
bool contains(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
- expired
bool expired(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
- get
bool get(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
- getOldest
const(Entry)* getOldest()
Undocumented in source. Be warned that the author may not have intended to support it.
- keys
auto keys()
keys returns a slice of the keys in the cache, from oldest to newest.
- length
uint length()
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
V opIndex(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndexAssign
void opIndexAssign(V value, const(K) key)
Undocumented in source. Be warned that the author may not have intended to support it.
- opSlice
EvictList.Range!false opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
- peek
bool peek(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
- peek
V peek(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
- purge
void purge()
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
bool remove(const(K) key)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeOldest
const(Result!(Entry*)) removeOldest()
Undocumented in source. Be warned that the author may not have intended to support it.
- setEvict
void setEvict(EvictCallback evict)
Undocumented in source. Be warned that the author may not have intended to support it.
- upTime
double upTime(K key)
Undocumented in source. Be warned that the author may not have intended to support it.