API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IRAMCACHE

Brew Release
Brew MP 1.0.2
See Also
IRecordStore Interface
Description
IRamCache provides a size-limited, item-limited, least-recently-used RamCache with time-to-live.
Implementations should use the heap to store the cache records.
Records consist of a key-value pair, each of which can be a binary blob. Keys and values are copied.
IRamCache inherits from IRecordStore.
The following header file is required:
BREW 4.0 - AEEIRamCache.h BREW 3.1 and prior - AEERamCache.h
Usage
Typical consumers of this interface are applications that require a smallish, memory-backed cache with simple TTL and LRU semantics. Some examples: an SSL implementation that caches session keys or a web browser that caches page contents.