# Poco

# template < class TKey, class TValue, class TMutex = FastMutex, class TEventMutex = FastMutex >

# class LRUCache

Library: Foundation
Package: Cache
Header: Poco/LRUCache.h

## Description

An LRUCache implements Least Recently Used caching. The default size for a cache is 1024 entries.

## Inheritance

Direct Base Classes: AbstractCache < TKey, TValue, LRUStrategy < TKey, TValue >, TMutex, TEventMutex >

All Base Classes: AbstractCache < TKey, TValue, LRUStrategy < TKey, TValue >, TMutex, TEventMutex >

## Member Summary

Member Functions: operator =

## Constructors

### LRUCache

LRUCache(
std::size_t size = 1024
);

### LRUCache

LRUCache(
const LRUCache & aCache
) = delete;

## Destructor

### ~LRUCache

~LRUCache() = default;

## Member Functions

### operator =

LRUCache & operator = (
const LRUCache & aCache
) = delete;