This is the concrete factory for the LFU cache policy.  
 More...
#include <LFUCachePolicyFactory.h>
 | 
| std::string  | m_factoryKey | 
|   | The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.  More...
  | 
|   | 
This is the concrete factory for the LFU cache policy. 
- See also
 - te::graph::AbstractCachePolicyFactory 
 
Definition at line 44 of file LFUCachePolicyFactory.h.
 
  
  
      
        
          | te::graph::LFUCachePolicyFactory::~LFUCachePolicyFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | te::graph::LFUCachePolicyFactory::LFUCachePolicyFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | static void te::graph::LFUCachePolicyFactory::finalize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the abstract factory ... 
 
 
It returns a reference to the internal dictionary of concrete factories. 
The dictionary is a singleton.
- Returns
 - A reference to the internal dictionary. 
 
 
 
It returns the factory key associated to the concreate factory. 
- Returns
 - The factory key associated to the concreate factory. 
 
 
 
  
  
      
        
          | const std::string& te::graph::LFUCachePolicyFactory::getType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | static void te::graph::LFUCachePolicyFactory::initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
It initializes the factory: the singleton instance will be registered in the abstract factory ... 
 
 
It creates and returns default cache policy. 
- Returns
 - A default cache policy
 
- Note
 - The caller will take the ownership of the returned pointer. 
 
 
 
  
  
      
        
          | static AbstractCachePolicy* te::graph::AbstractCachePolicyFactory::make  | 
          ( | 
          const std::string &  | 
          cpType | ) | 
           | 
         
       
   | 
  
staticinherited   | 
  
 
It creates a cache policy with the proper type. 
- Parameters
 - 
  
    | cpType | The name of the specific cache policy. | 
  
   
- Returns
 - A specific cache policy
 
- Note
 - The caller will take the ownership of the returned pointer. 
 
 
 
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. 
Definition at line 136 of file AbstractFactory.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/graph/cache/LFUCachePolicyFactory.h