Cache.this

Constructor.

class Cache
this
(
size_t max_items
,
time_t lifetime
)

Parameters

max_items size_t

maximum number of items in the cache, set once, cannot be changed

lifetime time_t

life time for all items in seconds; may be changed at any time. This value must be at least 1.

Meta