Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::AbstractStrategy< TKey, TValue > Class Template Reference

An AbstractStrategy is the interface for all strategies. More...

#include <AbstractStrategy.h>

Inheritance diagram for Poco::AbstractStrategy< TKey, TValue >:

List of all members.

Public Member Functions

virtual void onAdd (const void *pSender, const KeyValueArgs< TKey, TValue > &key)=0
virtual void onClear (const void *pSender, const EventArgs &args)=0
 Informs the strategy that a read-access happens to an element.
virtual void onGet (const void *pSender, const TKey &key)=0
virtual void onIsValid (const void *pSender, ValidArgs< TKey > &key)=0
 Removes all elements from the cache.
virtual void onRemove (const void *pSender, const TKey &key)=0
virtual void onReplace (const void *pSender, std::set< TKey > &elemsToRemove)=0
 Used to query if a key is still valid (i.e. cached).

Detailed Description

template<class TKey, class TValue>
class Poco::AbstractStrategy< TKey, TValue >

An AbstractStrategy is the interface for all strategies.

Definition at line 53 of file AbstractStrategy.h.


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

Generated by  Doxygen 1.6.0   Back to index