Constructor.
Checks whether an item exists in the cache and updates its access time. If the life time of the item has expired, it is removed.
Checks whether an item exists in the cache and updates its access time. If the life time of the item has expired, it is removed.
Gets an item from the cache or creates it if not already existing. If the item was found in the cache, its access time is updated, otherwise its create time is set. If the item was found but was expired, the effect is the same as if the item was not found.
Gets an item from the cache. If the item was found in the cache, its access time is updated. If the item life time has expired, it is automatically removed.
Gets an item from the cache. If the item was found in the cache, its access time is updated. If the item life time has expired, it is automatically removed.
Resets the statistics counter values.
Life time for empty items in seconds; may be changed at any time. This value must be at least 1. Can be same as lifetime.
Life time for non-empty items in seconds; may be changed at any time. This value must be at least 1.
Counts the number of lookups where an existing element was expired.
size of a data item. If 0 is specified (the default), the items stored in the cache are of variable (dynamic) size
Data cache class template with element life time limitation. Stores items of raw data, either of fixed or dynamic size. When the life time of an item, which is the difference between its creation time and the current wall clock time, has expired, it is removed automatically on the next getRaw()/exists() access.