KeyedCache

represents a cache that associates string keys with items

Constructors

this
this(void delegate(T) on_free)
Undocumented in source.

Members

Functions

drop
void drop()

clear cache

get
Nullable!T get(string key)

check if an item is cached

get_all
T[] get_all()

get all items

put
void put(string key, T value)

cache an item

Variables

_free
void delegate(T) _free;
Undocumented in source.

Meta