Instantiates Cache and Decision plugins. Parses configuration file.
More...
#include <XrdFileCacheFactory.hh>
Instantiates Cache and Decision plugins. Parses configuration file.
§ Factory()
XrdFileCache::Factory::Factory |
( |
| ) |
|
§ Attach()
Unused abstract method. This method is implemented in the the Cache class.
Implements XrdOucCache.
§ CacheDirCleanup()
void XrdFileCache::Factory::CacheDirCleanup |
( |
| ) |
|
Thread function running disk cache purge periodically.
§ clLog()
XrdCl::Log* XrdFileCache::Factory::clLog |
( |
| ) |
const |
|
inlineprivate |
§ Config()
bool XrdFileCache::Factory::Config |
( |
XrdSysLogger * |
logger, |
|
|
const char * |
config_filename, |
|
|
const char * |
parameters |
|
) |
| |
Parse configuration file.
- Parameters
-
logger | xrootd logger |
config_filename | path to configuration file |
parameters | optional parameters to be passed |
- Returns
- parse status
§ ConfigParameters()
bool XrdFileCache::Factory::ConfigParameters |
( |
std::string |
, |
|
|
XrdOucStream & |
|
|
) |
| |
|
private |
§ ConfigXeq()
bool XrdFileCache::Factory::ConfigXeq |
( |
char * |
, |
|
|
XrdOucStream & |
|
|
) |
| |
|
private |
§ Create()
§ Decide()
Makes decision if the original XrdOucCacheIO should be cached.
- Parameters
-
- Returns
- decision if IO object will be cached.
§ GetInstance()
static Factory& XrdFileCache::Factory::GetInstance |
( |
| ) |
|
|
static |
§ GetOss()
XrdOss* XrdFileCache::Factory::GetOss |
( |
| ) |
const |
|
inline |
§ GetSysError()
Getter for xrootd logger.
§ isAttached()
virtual int XrdFileCache::Factory::isAttached |
( |
| ) |
|
|
inlinevirtual |
Unused abstract method. This information is available in the Cache class.
Reimplemented from XrdOucCache.
§ RefConfiguration()
const Configuration& XrdFileCache::Factory::RefConfiguration |
( |
| ) |
const |
|
inline |
§ VCheck()
static bool XrdFileCache::Factory::VCheck |
( |
XrdVersionInfo & |
urVersion | ) |
|
|
inlinestatic |
§ xdlib()
§ m_configuration
§ m_decisionpoints
§ m_factory
Factory* XrdFileCache::Factory::m_factory |
|
staticprivate |
§ m_filesInQueue
std::map<std::string, long long> XrdFileCache::Factory::m_filesInQueue |
|
private |
§ m_log
§ m_output_fs
XrdOss* XrdFileCache::Factory::m_output_fs |
|
private |
§ m_stats
passed to cache, currently not used
The documentation for this class was generated from the following file: