Electroneum
Public Member Functions | List of all members
caches::ICachePolicy< Key > Class Template Referenceabstract

#include <cache_policy.hpp>

Inheritance diagram for caches::ICachePolicy< Key >:
Inheritance graph
[legend]

Public Member Functions

virtual ~ICachePolicy ()
 
virtual void Insert (const Key &key)=0
 
virtual void Touch (const Key &key)=0
 
virtual void Erase (const Key &key)=0
 
virtual const Key & ReplCandidate () const =0
 
virtual void Clear ()=0
 

Constructor & Destructor Documentation

◆ ~ICachePolicy()

template<typename Key >
virtual caches::ICachePolicy< Key >::~ICachePolicy ( )
inlinevirtual

Member Function Documentation

◆ Clear()

template<typename Key >
virtual void caches::ICachePolicy< Key >::Clear ( )
pure virtual

◆ Erase()

template<typename Key >
virtual void caches::ICachePolicy< Key >::Erase ( const Key &  key)
pure virtual

◆ Insert()

template<typename Key >
virtual void caches::ICachePolicy< Key >::Insert ( const Key &  key)
pure virtual

◆ ReplCandidate()

template<typename Key >
virtual const Key& caches::ICachePolicy< Key >::ReplCandidate ( ) const
pure virtual

◆ Touch()

template<typename Key >
virtual void caches::ICachePolicy< Key >::Touch ( const Key &  key)
pure virtual

The documentation for this class was generated from the following file: