![]() |
XRootD
|
Public Member Functions | |
XrdPfcPurgeQuota (XrdSysError &log) | |
bool | ConfigPurgePin (const char *parms) override |
Provide bytes to erase from dir quota listed in a text file. More... | |
long long | GetBytesToRecover (const XrdPfc::DataFsPurgeshot &purge_shot) override |
Provide bytes to erase from dir quota listed in a text file. More... | |
void | InitDirStatesForLocalPaths (const XrdPfc::DataFsPurgeshot &purge_shot) |
Set directory statistics. More... | |
![]() | |
virtual | ~PurgePin () |
virtual bool | CallPeriodically () |
list_t & | refDirInfos () |
Additional Inherited Members | |
![]() | |
typedef list_t::iterator | list_i |
typedef std::vector< DirInfo > | list_t |
![]() | |
list_t | m_list |
Definition at line 11 of file XrdPfcPurgeQuota.cc.
|
inline |
Definition at line 16 of file XrdPfcPurgeQuota.cc.
|
inlineoverridevirtual |
Provide bytes to erase from dir quota listed in a text file.
Reimplemented from XrdPfc::PurgePin.
Definition at line 61 of file XrdPfcPurgeQuota.cc.
References XrdOuca2x::a2ll(), XrdOuca2x::a2sz(), XrdCms::Config, XrdSysError::Emsg(), XrdPfc::PurgePin::m_list, XrdPfc::PurgePin::DirInfo::nBytesQuota, open(), and XrdPfc::PurgePin::DirInfo::path.
|
inlineoverridevirtual |
Provide bytes to erase from dir quota listed in a text file.
Implements XrdPfc::PurgePin.
Definition at line 32 of file XrdPfcPurgeQuota.cc.
References XrdSysError::Emsg(), InitDirStatesForLocalPaths(), and XrdPfc::PurgePin::m_list.
|
inline |
Set directory statistics.
Definition at line 21 of file XrdPfcPurgeQuota.cc.
References XrdPfc::DataFsPurgeshot::find_dir_usage_for_dir_path(), and XrdPfc::PurgePin::m_list.
Referenced by GetBytesToRecover().