|
xrootd
|
Instantiates Cache and Decision plugins. Parses configuration file. More...
#include <XrdFileCacheFactory.hh>


Public Member Functions | |
| Factory () | |
| Constructor. More... | |
| virtual XrdOucCacheIO * | Attach (XrdOucCacheIO *, int Options=0) |
| Unused abstract method. This method is implemented in the the Cache class. More... | |
| virtual int | isAttached () |
| Unused abstract method. This information is available in the Cache class. More... | |
| virtual XrdOucCache * | Create (Parms &, XrdOucCacheIO::aprParms *aprP) |
| Creates XrdFileCache::Cache object. More... | |
| XrdOss * | GetOss () const |
| XrdSysError & | GetSysError () |
| Getter for xrootd logger. More... | |
| bool | Decide (XrdOucCacheIO *) |
| Makes decision if the original XrdOucCacheIO should be cached. More... | |
| const Configuration & | RefConfiguration () const |
| Reference XrdFileCache configuration. More... | |
| bool | Config (XrdSysLogger *logger, const char *config_filename, const char *parameters) |
| Parse configuration file. More... | |
| void | CacheDirCleanup () |
| Thread function running disk cache purge periodically. More... | |
Public Member Functions inherited from XrdOucCache | |
| virtual int | Unlink (const char *) |
| virtual int | Rmdir (const char *) |
| virtual int | Rename (const char *, const char *) |
| virtual int | Truncate (const char *, off_t) |
| XrdOucCache () | |
| virtual | ~XrdOucCache () |
Static Public Member Functions | |
| static Factory & | GetInstance () |
| Singleton access. More... | |
| static bool | VCheck (XrdVersionInfo &urVersion) |
| Version check. More... | |
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. More... | |
| XrdOucCacheStats | m_stats |
| passed to cache, currently not used More... | |
| XrdOss * | m_output_fs |
| disk cache file system More... | |
| std::vector < XrdFileCache::Decision * > | m_decisionpoints |
| decision plugins More... | |
| std::map< std::string, long long > | m_filesInQueue |
| Configuration | m_configuration |
| configurable parameters More... | |
Static Private Attributes | |
| static Factory * | m_factory |
| this object More... | |
Additional Inherited Members | |
Public Attributes inherited from XrdOucCache | |
| XrdOucCacheStats | Stats |
Static Public Attributes inherited from XrdOucCache | |
| static const int | optADB = 0x1000 |
| static const int | optFIS = 0x0001 |
| static const int | optFIU = 0x0002 |
| static const int | optRW = 0x0004 |
| static const int | optNEW = 0x0014 |
| static const int | optWIN = 0x0024 |
| static const int | isServer = 0x0010 |
| static const int | isStructured = 0x0020 |
| static const int | canPreRead = 0x0040 |
| static const int | logStats = 0x0080 |
| static const int | Serialized = 0x0004 |
| static const int | ioMTSafe = 0x0008 |
| static const int | Debug = 0x0003 |
| XrdFileCache::Factory::Factory | ( | ) |
Constructor.
|
inlinevirtual |
Unused abstract method. This method is implemented in the the Cache class.
Implements XrdOucCache.
| void XrdFileCache::Factory::CacheDirCleanup | ( | ) |
Thread function running disk cache purge periodically.
|
inlineprivate |
References XrdCl::DefaultEnv::GetLog().
| 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 |
|
private |
|
private |
|
virtual |
Creates XrdFileCache::Cache object.
Implements XrdOucCache.
| bool XrdFileCache::Factory::Decide | ( | XrdOucCacheIO * | ) |
Makes decision if the original XrdOucCacheIO should be cached.
| & | URL of file |
|
static |
Singleton access.
|
inline |
References m_output_fs.
|
inline |
Getter for xrootd logger.
References m_log.
|
inlinevirtual |
Unused abstract method. This information is available in the Cache class.
Reimplemented from XrdOucCache.
|
inline |
Reference XrdFileCache configuration.
References m_configuration.
|
inlinestatic |
Version check.
|
private |
|
private |
configurable parameters
Referenced by RefConfiguration().
|
private |
decision plugins
|
staticprivate |
this object
|
private |
|
private |
XrdFileCache namespace logger.
Referenced by GetSysError().
|
private |
passed to cache, currently not used
1.8.5