![]() |
XRootD
|
#include <XrdCmsKey.hh>
Public Member Functions | |
XrdCmsKeyItem () | |
~XrdCmsKeyItem () | |
void | Recycle () |
void | Reload () |
Static Public Member Functions | |
static XrdCmsKeyItem * | Alloc (unsigned int theTock) |
static int | Replenish () |
static void | Stats (int &isAlloc, int &isFree, int &wasEmpty) |
static XrdCmsKeyItem * | Unload (unsigned int theTock) |
static XrdCmsKeyItem * | Unload (XrdCmsKeyItem *theItem) |
Public Attributes | |
XrdCmsKey | Key |
XrdCmsKeyLoc | Loc |
XrdCmsKeyItem * | Next |
Static Public Attributes | |
static const int | minAlloc = 4096 |
static const int | minFree = 1024 |
static const unsigned int | TickMask = 63 |
static const unsigned int | TickRate = 64 |
Definition at line 125 of file XrdCmsKey.hh.
|
inline |
Definition at line 147 of file XrdCmsKey.hh.
|
inline |
Definition at line 148 of file XrdCmsKey.hh.
|
static |
Definition at line 71 of file XrdCmsKey.cc.
References XrdSysError::Emsg(), Key, Loc, Next, XrdCmsKey::Ref, XrdCmsKeyLoc::roPend, XrdCmsKeyLoc::rwPend, XrdCms::Say, XrdCmsKey::TOD, and XrdCmsKey::TODRef.
Referenced by XrdCmsNash::Add(), and XrdCmsCache::Init().
void XrdCmsKeyItem::Recycle | ( | ) |
Definition at line 101 of file XrdCmsKey.cc.
Referenced by XrdCmsCache::DelFile(), XrdCmsCache::Init(), and XrdCmsNash::Recycle().
void XrdCmsKeyItem::Reload | ( | ) |
|
static |
Definition at line 131 of file XrdCmsKey.cc.
|
static |
Definition at line 159 of file XrdCmsKey.cc.
|
static |
Definition at line 172 of file XrdCmsKey.cc.
References XrdCmsKey::Hash, Key, Loc, XrdCmsKey::TOD, and XrdCmsKey::TODRef.
Referenced by XrdCmsCache::DelFile(), XrdCmsCache::Init(), and XrdCmsCache::TickTock().
|
static |
Definition at line 195 of file XrdCmsKey.cc.
References XrdCmsKey::Hash, Key, Loc, XrdCmsKey::TOD, and XrdCmsKey::TODRef.
XrdCmsKey XrdCmsKeyItem::Key |
Definition at line 130 of file XrdCmsKey.hh.
Referenced by XrdCmsNash::Add(), XrdCmsCache::AddFile(), Alloc(), XrdCmsCache::DelFile(), XrdCmsNash::Find(), XrdCmsCache::GetFile(), XrdCmsCache::UnkFile(), Unload(), and XrdCmsCache::WT4File().
XrdCmsKeyLoc XrdCmsKeyItem::Loc |
Definition at line 129 of file XrdCmsKey.hh.
Referenced by XrdCmsCache::AddFile(), Alloc(), XrdCmsCache::DelFile(), XrdCmsCache::GetFile(), XrdCmsNash::Recycle(), XrdCmsCache::UnkFile(), Unload(), and XrdCmsCache::WT4File().
|
static |
Definition at line 152 of file XrdCmsKey.hh.
|
static |
Definition at line 153 of file XrdCmsKey.hh.
XrdCmsKeyItem* XrdCmsKeyItem::Next |
Definition at line 131 of file XrdCmsKey.hh.
Referenced by XrdCmsNash::Add(), Alloc(), XrdCmsNash::Find(), XrdCmsNash::Recycle(), and Replenish().
|
static |
Definition at line 151 of file XrdCmsKey.hh.
Referenced by XrdCmsCache::TickTock().
|
static |
Definition at line 150 of file XrdCmsKey.hh.
Referenced by XrdCmsCache::Init().