extended caching framework with configurable thread safeness

This commit is contained in:
Peter Schojer
2008-09-30 06:49:22 +00:00
parent 358797c89e
commit b5c357599c
10 changed files with 66 additions and 33 deletions

View File

@@ -47,8 +47,13 @@
namespace Poco {
template <class TKey, class TValue>
class LRUCache: public AbstractCache<TKey, TValue, LRUStrategy<TKey, TValue> >
template <
class TKey,
class TValue,
class TMutex = FastMutex,
class TEventMutex = FastMutex
>
class LRUCache: public AbstractCache<TKey, TValue, LRUStrategy<TKey, TValue>, TMutex, TEventMutex >
/// An LRUCache implements Least Recently Used caching. The default size for a cache is 1024 entries
{
public: