27 #include "../Globals.h"
static const std::string sm_factoryCachePolicyTypeLFU
LFU Cache Policy Factory Name.
An static class with global definitions for the TerraLib Graph Module.
This class is used to implement the LFU cache policy.
This is the abstract factory for cache policy.
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory ...
const std::string & getType() const
Returns the type (name) of this factory.
LFUCachePolicyFactory()
Default constructor.
This is the concrete factory for the LFU cache policy.
This is the concrete factory for the LFU cache policy.
te::graph::AbstractCachePolicy * build()
Builds a new cache policy object.
This class is used to set the main functions of a cache policy.
static LFUCachePolicyFactory * sm_factory
Static attribute used to register this factory.
This class is used to implement the LFU cache policy.
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...