#include <XrdFileCacheFactory.hh>
Inheritance diagram for XrdFileCache::Factory:
Public Member Functions | |
Factory () | |
Constructor. | |
virtual XrdOucCacheIO * | Attach (XrdOucCacheIO *, int Options=0) |
Unused abstract method. This method is implemented in the the Cache class. | |
virtual int | isAttached () |
Unused abstract method. This information is available in the Cache class. | |
virtual XrdOucCache * | Create (Parms &, XrdOucCacheIO::aprParms *aprP) |
Creates XrdFileCache::Cache object. | |
XrdOss * | GetOss () const |
XrdSysError & | GetSysError () |
Getter for xrootd logger. | |
bool | Decide (XrdOucCacheIO *) |
Makes decision if the original XrdOucCacheIO should be cached. | |
const Configuration & | RefConfiguration () const |
Reference XrdFileCache configuration. | |
bool | Config (XrdSysLogger *logger, const char *config_filename, const char *parameters) |
Parse configuration file. | |
void | CacheDirCleanup () |
Thread function running disk cache purge periodically. | |
Static Public Member Functions | |
static Factory & | GetInstance () |
Singleton access. | |
static bool | VCheck (XrdVersionInfo &urVersion) |
Version check. | |
Private Member Functions | |
bool | ConfigParameters (std::string, XrdOucStream &) |
bool | ConfigXeq (char *, XrdOucStream &) |
bool | xdlib (XrdOucStream &) |
XrdCl::Log * | clLog () const |
Private Attributes | |
XrdSysError | m_log |
XrdFileCache namespace logger. | |
XrdOucCacheStats | m_stats |
passed to cache, currently not used | |
XrdOss * | m_output_fs |
disk cache file system | |
std::vector< XrdFileCache::Decision * > | m_decisionpoints |
decision plugins | |
std::map< std::string, long long > | m_filesInQueue |
Configuration | m_configuration |
configurable parameters | |
Static Private Attributes | |
static Factory * | m_factory |
this object |
XrdFileCache::Factory::Factory | ( | ) |
Constructor.
virtual XrdOucCacheIO* XrdFileCache::Factory::Attach | ( | XrdOucCacheIO * | , | |
int | Options = 0 | |||
) | [inline, virtual] |
void XrdFileCache::Factory::CacheDirCleanup | ( | ) |
Thread function running disk cache purge periodically.
XrdCl::Log* XrdFileCache::Factory::clLog | ( | ) | const [inline, private] |
bool XrdFileCache::Factory::Config | ( | XrdSysLogger * | logger, | |
const char * | config_filename, | |||
const char * | parameters | |||
) |
Parse configuration file.
logger | xrootd logger | |
config_filename | path to configuration file | |
parameters | optional parameters to be passed |
bool XrdFileCache::Factory::ConfigParameters | ( | std::string | , | |
XrdOucStream & | ||||
) | [private] |
bool XrdFileCache::Factory::ConfigXeq | ( | char * | , | |
XrdOucStream & | ||||
) | [private] |
virtual XrdOucCache* XrdFileCache::Factory::Create | ( | Parms & | , | |
XrdOucCacheIO::aprParms * | aprP | |||
) | [virtual] |
Creates XrdFileCache::Cache object.
bool XrdFileCache::Factory::Decide | ( | XrdOucCacheIO * | ) |
Makes decision if the original XrdOucCacheIO should be cached.
& | URL of file |
static Factory& XrdFileCache::Factory::GetInstance | ( | ) | [static] |
Singleton access.
XrdOss* XrdFileCache::Factory::GetOss | ( | ) | const [inline] |
XrdSysError& XrdFileCache::Factory::GetSysError | ( | ) | [inline] |
Getter for xrootd logger.
virtual int XrdFileCache::Factory::isAttached | ( | ) | [inline, virtual] |
Unused abstract method. This information is available in the Cache class.
Reimplemented from XrdOucCache.
const Configuration& XrdFileCache::Factory::RefConfiguration | ( | ) | const [inline] |
Reference XrdFileCache configuration.
static bool XrdFileCache::Factory::VCheck | ( | XrdVersionInfo & | urVersion | ) | [inline, static] |
Version check.
bool XrdFileCache::Factory::xdlib | ( | XrdOucStream & | ) | [private] |
configurable parameters
std::vector<XrdFileCache::Decision*> XrdFileCache::Factory::m_decisionpoints [private] |
decision plugins
Factory* XrdFileCache::Factory::m_factory [static, private] |
this object
std::map<std::string, long long> XrdFileCache::Factory::m_filesInQueue [private] |
XrdSysError XrdFileCache::Factory::m_log [private] |
XrdFileCache namespace logger.
XrdOss* XrdFileCache::Factory::m_output_fs [private] |
disk cache file system
passed to cache, currently not used