#include <coherence/net/cache/CacheLoader.hpp>
Inherits Object.
Inherited by AbstractCacheLoader [virtual]
, CacheStore [virtual]
, and IterableCacheLoader [virtual]
.
Public Types | |
typedef spec::Handle | Handle |
CacheLoader Handle definition. | |
typedef spec::View | View |
CacheLoader View definition. | |
typedef spec::Holder | Holder |
CacheLoader Holder definition. | |
Public Member Functions | |
virtual Object::Holder | load (Object::View vKey)=0 |
Return the value associated with the specified key, or NULL if the key does not have an associated value in the underlying store. | |
virtual Map::View | loadAll (Collection::View vColKeys)=0 |
Return the values associated with each the specified keys in the passed collection. |
virtual Object::Holder load | ( | Object::View | vKey | ) | [pure virtual] |
Return the value associated with the specified key, or NULL if the key does not have an associated value in the underlying store.
vKey | key whose associated value is to be returned |
NULL
if no value is available for that key virtual Map::View loadAll | ( | Collection::View | vColKeys | ) | [pure virtual] |
Return the values associated with each the specified keys in the passed collection.
If a key does not have an associated value in the underlying store, then the return map will not have an entry for that key.
vColKeys | a collection of keys to load |
Implemented in AbstractCacheLoader.