|
xrootd
|
#include <XrdCmsKey.hh>

Public Member Functions | |
| void | Recycle () |
| void | Reload () |
| XrdCmsKeyItem () | |
| ~XrdCmsKeyItem () | |
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 | |
| XrdCmsKeyLoc | Loc |
| XrdCmsKey | Key |
| XrdCmsKeyItem * | Next |
Static Public Attributes | |
| static const unsigned int | TickRate = 64 |
| static const unsigned int | TickMask = 63 |
| static const int | minAlloc = 4096 |
| static const int | minFree = 1024 |
Static Private Attributes | |
| static XrdCmsKeyItem * | TockTable [TickRate] = {0} |
| static XrdCmsKeyItem * | Free = 0 |
| static int | numFree = 0 |
| static int | numHave = 0 |
| static int | numNull = 0 |
| XrdCmsKeyItem::XrdCmsKeyItem | ( | ) | [inline] |
| XrdCmsKeyItem::~XrdCmsKeyItem | ( | ) | [inline] |
| XrdCmsKeyItem * XrdCmsKeyItem::Alloc | ( | unsigned int | theTock | ) | [static] |
References Next, Key, XrdCmsKey::TOD, XrdCmsKey::TODRef, XrdCmsKey::Ref, Loc, XrdCmsKeyLoc::roPend, XrdCmsKeyLoc::rwPend, XrdCms::Say, and XrdSysError::Emsg().
Referenced by XrdCmsCache::Init(), and XrdCmsNash::Add().
| void XrdCmsKeyItem::Recycle | ( | ) |
Referenced by XrdCmsCache::DelFile(), XrdCmsCache::Init(), and XrdCmsNash::Recycle().
| void XrdCmsKeyItem::Reload | ( | ) |
| int XrdCmsKeyItem::Replenish | ( | ) | [static] |
References EPNAME, DEBUG, and Next.
Referenced by XrdCmsCache::Recycle().
| void XrdCmsKeyItem::Stats | ( | int & | isAlloc, |
| int & | isFree, | ||
| int & | wasEmpty | ||
| ) | [static] |
Referenced by XrdCmsCache::Recycle().
| XrdCmsKeyItem * XrdCmsKeyItem::Unload | ( | unsigned int | theTock | ) | [static] |
References Key, XrdCmsKey::TODRef, XrdCmsKey::TOD, Loc, XrdCmsKeyLoc::HashSave, and XrdCmsKey::Hash.
Referenced by XrdCmsCache::DelFile(), XrdCmsCache::Init(), and XrdCmsCache::TickTock().
| XrdCmsKeyItem * XrdCmsKeyItem::Unload | ( | XrdCmsKeyItem * | theItem | ) | [static] |
References Key, XrdCmsKey::TOD, XrdCmsKey::TODRef, Loc, XrdCmsKeyLoc::HashSave, and XrdCmsKey::Hash.
XrdCmsKeyItem * XrdCmsKeyItem::Free = 0 [static, private] |
const int XrdCmsKeyItem::minAlloc = 4096 [static] |
const int XrdCmsKeyItem::minFree = 1024 [static] |
Referenced by XrdCmsCache::Recycle().
Referenced by Alloc(), Replenish(), XrdCmsNash::Add(), XrdCmsNash::Expand(), XrdCmsNash::Find(), and XrdCmsNash::Recycle().
int XrdCmsKeyItem::numFree = 0 [static, private] |
int XrdCmsKeyItem::numHave = 0 [static, private] |
int XrdCmsKeyItem::numNull = 0 [static, private] |
const unsigned int XrdCmsKeyItem::TickMask = 63 [static] |
Referenced by XrdCmsCache::TickTock().
const unsigned int XrdCmsKeyItem::TickRate = 64 [static] |
Referenced by XrdCmsCache::Init().
XrdCmsKeyItem * XrdCmsKeyItem::TockTable = {0} [static, private] |
1.7.5