This class is used to implement the LFU cache policy.
More...
#include <LFUCachePolicy.h>
|
| | LFUCachePolicy () |
| | Default constructor. More...
|
| |
| virtual | ~LFUCachePolicy () |
| | Virtual destructor. More...
|
| |
|
Method used to access the cache policy
|
| virtual void | added (int value) |
| | Function used to add a new index to be controlled. More...
|
| |
| virtual void | update (int value) |
| | Function used to inform that an index must be updated. More...
|
| |
| virtual void | toRemove (int &value) |
| | Function used to check what index has to be removed from the cache. More...
|
| |
| virtual void | accessed (int value) |
| | Function used to inform that an index was accessed. More...
|
| |
|
| std::map< int, double > | m_LFU |
| |
This class is used to implement the LFU cache policy.
- See also
- AbstractCachePolicy
Definition at line 48 of file LFUCachePolicy.h.
◆ LFUCachePolicy()
| te::graph::LFUCachePolicy::LFUCachePolicy |
( |
| ) |
|
◆ ~LFUCachePolicy()
| virtual te::graph::LFUCachePolicy::~LFUCachePolicy |
( |
| ) |
|
|
virtual |
◆ accessed()
| virtual void te::graph::LFUCachePolicy::accessed |
( |
int |
value | ) |
|
|
virtual |
◆ added()
| virtual void te::graph::LFUCachePolicy::added |
( |
int |
value | ) |
|
|
virtual |
◆ toRemove()
| virtual void te::graph::LFUCachePolicy::toRemove |
( |
int & |
value | ) |
|
|
virtual |
◆ update()
| virtual void te::graph::LFUCachePolicy::update |
( |
int |
value | ) |
|
|
virtual |
◆ m_LFU
| std::map<int, double> te::graph::LFUCachePolicy::m_LFU |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/graph/cache/LFUCachePolicy.h