MapCache

A <code>MapCache</code> is a {@link Cache Cache} implementation that uses a backing {@link Map} instance to store and retrieve cached data.

@since 1.0

Constructors

this
this(string name)
Undocumented in source.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
contain
bool contain(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
get
V get(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
get
V get(K key, V defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
keys
K[] keys()
Undocumented in source. Be warned that the author may not have intended to support it.
put
V put(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
V remove(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
values
V[] values()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta