Inheritance diagram for NetworkCache::RemoteLoader:
Public Member Functions | |
this (NetworkCache cache, IRemoteCacheLoader loader) | |
bool | test (IPayload p) |
IPayload | load (char[] key, long newerThan) |
Public Attributes | |
NetworkCache | cache |
IRemoteCacheLoader | loader |
|
Definition at line 231 of file NetworkCache.d. |
|
Test the cache entry to see if it is still valid. A true return value indicates the entry is valid, whereas false flags the entry as stale. The latter case will cause the load() method to be invoked. Reimplemented from ICacheLoader. Definition at line 241 of file NetworkCache.d. |
|
Load a cache entry from wherever the content is persisted. The 'time' argument represents that belonging to a stale entry, which can be used to optimize the loader operation (no need to perform a full load where there's already a newer version in an L2 cache). This 'time' value will be long.min where was no such stale entry. Reimplemented from ICacheLoader. Definition at line 250 of file NetworkCache.d. |
|
Definition at line 224 of file NetworkCache.d. |
|
Definition at line 225 of file NetworkCache.d. |