Base class for reguesting directory space to obtain. More...
#include <XrdPfcPurgePin.hh>
Classes | |
| struct | DirInfo |
Public Types | |
| typedef list_t::iterator | list_i |
| typedef std::vector< DirInfo > | list_t |
Public Member Functions | |
| virtual | ~PurgePin () |
| virtual bool | CallPeriodically () |
| virtual bool | ConfigPurgePin (const char *params) |
| virtual long long | GetBytesToRecover (const DataFsPurgeshot &)=0 |
| list_t & | refDirInfos () |
Protected Attributes | |
| list_t | m_list |
Base class for reguesting directory space to obtain.
Definition at line 15 of file XrdPfcPurgePin.hh.
| struct XrdPfc::PurgePin::DirInfo |
Definition at line 18 of file XrdPfcPurgePin.hh.
| Class Members | ||
|---|---|---|
| const DirUsage * | dirUsage {nullptr} | |
| long long | nBytesQuota {0} | |
| long long | nBytesToRecover {0} | |
| string | path | |
| typedef list_t::iterator XrdPfc::PurgePin::list_i |
Definition at line 29 of file XrdPfcPurgePin.hh.
| typedef std::vector<DirInfo> XrdPfc::PurgePin::list_t |
Definition at line 28 of file XrdPfcPurgePin.hh.
|
inlinevirtual |
Definition at line 35 of file XrdPfcPurgePin.hh.
|
inlinevirtual |
Definition at line 43 of file XrdPfcPurgePin.hh.
Referenced by XrdPfc::ResourceMonitor::perform_purge_check().
|
inlinevirtual |
Parse configuration arguments.
| params | configuration parameters |
Reimplemented in XrdPfcPurgeQuota.
Definition at line 64 of file XrdPfcPurgePin.hh.
|
pure virtual |
Provide erase information from directory statistics
| & | XrdPfc::DirState vector, exported from the tree version. |
Implemented in XrdPfcPurgeQuota.
Referenced by XrdPfc::OldStylePurgeDriver().
|
inline |
Get quotas for the given paths. Used in the XrdPfc:Cache::Purge() thread.
Definition at line 75 of file XrdPfcPurgePin.hh.
References m_list.
Referenced by XrdPfc::OldStylePurgeDriver().
|
protected |
Definition at line 32 of file XrdPfcPurgePin.hh.
Referenced by XrdPfcPurgeQuota::ConfigPurgePin(), XrdPfcPurgeQuota::GetBytesToRecover(), XrdPfcPurgeQuota::InitDirStatesForLocalPaths(), and refDirInfos().