MemoryCache

Constructors

this
this(bool soft, int maxSize)
Undocumented in source.
this
this(bool soft, int maxSize, int lifetime)
Undocumented in source.

Members

Functions

accept
void accept(CacheVisitor!(K, V) visitor)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
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.
newEntry
CacheEntry!(K, V) newEntry(K key, V value, long expirationTime, ReferenceQueue!V queue)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
setCapacity
void setCapacity(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeout
void setTimeout(int timeout)
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.

Meta