Library: Foundation
Package: Cache
Header: Poco/ExpireLRUCache.h
An ExpireLRUCache combines LRU caching and time based expire caching. It cache entries for a fixed time period (per default 10 minutes) but also limits the size of the cache (per default: 1024).
Direct Base Classes: AbstractCache < TKey, TValue, StrategyCollection < TKey, TValue >, TMutex, TEventMutex >
All Base Classes: AbstractCache < TKey, TValue, StrategyCollection < TKey, TValue >, TMutex, TEventMutex >
ExpireLRUCache(
long cacheSize = 1024,
Timestamp::TimeDiff expire = 600000
);
~ExpireLRUCache();