CachingStructLoader.load

Gets the record value corresponding to key.

If the caller and getData use some sort of multitasking (fibers) it is possible that while getData is busy it does a reentrant call of this method with the same key. In this case it will return null, even though the record may exist.

class CachingStructLoader(S)
protected
Contiguous!(S)
load
(
hash_t key
)

Parameters

key hash_t

record key

Return Value

Type: Contiguous!(S)

the record value or null if either not found or currently waiting for getData to fetch the value for this key.

Meta