ExpiredCacheReloader.getData

Looks up the record value corresponding to key and invokes got with either that value, if found, or empty data if not found. Should return without calling got if unable to look up the value.

class ExpiredCacheReloader(S)
protected abstract
void
getData
(
hash_t key
,
scope void delegate
(
Contiguous!(S) data
)
got
)

Parameters

key hash_t

record key

got void delegate
(
Contiguous!(S) data
)

delegate to call back with the value if found

Meta