Constructor.
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.
Imports the super class overloaded methods which were hidden by the getOrCreate() override implementation.
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. 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.
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.
Resets the statistics counter values.
Life time for all 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.
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 getAndRefreshValue()/exists() access.