Contains parameters configurable from the xrootd config file. More...
#include <XrdFileCache.hh>
Public Member Functions | |
Configuration () | |
bool | are_file_usage_limits_set () const |
bool | is_age_based_purge_in_effect () const |
bool | is_purge_plugin_set_up () const |
void | calculate_fractional_usages (long long du, long long fu, double &frac_du, double &frac_fu) |
Public Attributes | |
bool | m_hdfsmode |
flag for enabling block-level operation | |
bool | m_allow_xrdpfc_command |
flag for enabling access to /xrdpfc-command/ functionality. | |
std::string | m_username |
username passed to oss plugin | |
std::string | m_data_space |
oss space for data files | |
std::string | m_meta_space |
oss space for metadata files (cinfo) | |
long long | m_diskTotalSpace |
total disk space on configured partition or oss space | |
long long | m_diskUsageLWM |
cache purge - disk usage low water mark | |
long long | m_diskUsageHWM |
cache purge - disk usage high water mark | |
long long | m_fileUsageBaseline |
cache purge - files usage baseline | |
long long | m_fileUsageNominal |
cache purge - files usage nominal | |
long long | m_fileUsageMax |
cache purge - files usage maximum | |
int | m_purgeInterval |
sleep interval between cache purges | |
int | m_purgeColdFilesAge |
purge files older than this age | |
int | m_purgeColdFilesPeriod |
peform cold file purge every this many purge cycles | |
long long | m_bufferSize |
prefetch buffer size, default 1MB | |
long long | m_RamAbsAvailable |
available from configuration | |
int | m_NRamBuffers |
number of total in-memory cache blocks, cached | |
int | m_prefetch_max_blocks |
maximum number of blocks to prefetch per file | |
long long | m_hdfsbsize |
used with m_hdfsmode, default 128MB | |
long long | m_flushCnt |
nuber of unsynced blcoks on disk before flush is called |
Contains parameters configurable from the xrootd config file.
XrdFileCache::Configuration::Configuration | ( | ) | [inline] |
bool XrdFileCache::Configuration::are_file_usage_limits_set | ( | ) | const [inline] |
References m_fileUsageMax.
void XrdFileCache::Configuration::calculate_fractional_usages | ( | long long | du, | |
long long | fu, | |||
double & | frac_du, | |||
double & | frac_fu | |||
) |
bool XrdFileCache::Configuration::is_age_based_purge_in_effect | ( | ) | const [inline] |
References m_purgeColdFilesAge.
bool XrdFileCache::Configuration::is_purge_plugin_set_up | ( | ) | const [inline] |
flag for enabling access to /xrdpfc-command/ functionality.
prefetch buffer size, default 1MB
std::string XrdFileCache::Configuration::m_data_space |
oss space for data files
total disk space on configured partition or oss space
cache purge - disk usage high water mark
cache purge - disk usage low water mark
cache purge - files usage baseline
cache purge - files usage maximum
Referenced by are_file_usage_limits_set().
cache purge - files usage nominal
long long XrdFileCache::Configuration::m_flushCnt |
nuber of unsynced blcoks on disk before flush is called
long long XrdFileCache::Configuration::m_hdfsbsize |
used with m_hdfsmode, default 128MB
flag for enabling block-level operation
std::string XrdFileCache::Configuration::m_meta_space |
oss space for metadata files (cinfo)
number of total in-memory cache blocks, cached
maximum number of blocks to prefetch per file
purge files older than this age
Referenced by is_age_based_purge_in_effect().
peform cold file purge every this many purge cycles
sleep interval between cache purges
available from configuration
std::string XrdFileCache::Configuration::m_username |
username passed to oss plugin