#include <coherence/util/ConverterCollections.hpp>
Inherits ConverterCollections::ConverterObservableMap, and CacheMap.
Inherited by ConverterCollections::ConverterNamedCache.
Public Types | |||||||||||||
| typedef spec::Handle | Handle | ||||||||||||
| ConverterCacheMap Handle definition. | |||||||||||||
| typedef spec::View | View | ||||||||||||
| ConverterCacheMap View definition. | |||||||||||||
| typedef spec::Holder | Holder | ||||||||||||
| ConverterCacheMap Holder definition. | |||||||||||||
Public Member Functions | |||||||||||||
| virtual Map::View | getAll (Collection::View vKeys) const | ||||||||||||
| virtual Object::Holder | put (Object::View vKey, Object::Holder ohValue, int64_t cMillis) | ||||||||||||
| Associates the specified value with the specified key in this cache. If the cache previously contained a mapping for this key, the old value is replaced. This variation of the put(Object::View, Object::View) method allows the caller to specify an expiry (or "time to live") for the cache entry.
| |||||||||||||
| virtual CacheMap::View | getCacheMap () const | ||||||||||||
| Return the underlying CacheMap. | |||||||||||||
| virtual CacheMap::Handle | getCacheMap () | ||||||||||||
| Return the underlying CacheMap. | |||||||||||||
Protected Member Functions | |||||||||||||
| ConverterCacheMap (CacheMap::Handle hMapDelegate, EntryConverter::View vConvUp, EntryConverter::View vConvDown) | |||||||||||||
| Create a ConverterCacheMap which delegates to the specified CacheMap. | |||||||||||||
| ConverterCacheMap (CacheMap::View vMapDelegate, EntryConverter::View vConvUp, EntryConverter::View vConvDown) | |||||||||||||
| Create a ConverterCacheMap which delegates to the specified CacheMap. | |||||||||||||
| ConverterCacheMap | ( | CacheMap::Handle | hMapDelegate, | |
| EntryConverter::View | vConvUp, | |||
| EntryConverter::View | vConvDown | |||
| ) | [protected] |
Create a ConverterCacheMap which delegates to the specified CacheMap.
| hMap | the specified CacheMap | |
| vConvUp | the EntryConverter from the underlying Map | |
| vConvDown | the EntryConverter to the underlying Map |
| ConverterCacheMap | ( | CacheMap::View | vMapDelegate, | |
| EntryConverter::View | vConvUp, | |||
| EntryConverter::View | vConvDown | |||
| ) | [protected] |
Create a ConverterCacheMap which delegates to the specified CacheMap.
| vMap | the specified CacheMap | |
| vConvUp | the EntryConverter from the underlying Map | |
| vConvDown | the EntryConverter to the underlying Map |
| virtual CacheMap::View getCacheMap | ( | ) | const [virtual] |
Return the underlying CacheMap.
| virtual CacheMap::Handle getCacheMap | ( | ) | [virtual] |
Return the underlying CacheMap.