|
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 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 | ( | ) |
Referenced by XrdCmsCache::DelFile(), XrdCmsCache::Init(), and XrdCmsNash::Recycle().
| void XrdCmsKeyItem::Reload | ( | ) |
| int XrdCmsKeyItem::Replenish | ( | ) | [static] |
References DEBUG, EPNAME, 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 XrdCmsKey::Hash, XrdCmsKeyLoc::HashSave, Key, Loc, XrdCmsKey::TOD, and XrdCmsKey::TODRef.
Referenced by XrdCmsCache::DelFile(), XrdCmsCache::Init(), and XrdCmsCache::TickTock().
| XrdCmsKeyItem * XrdCmsKeyItem::Unload | ( | XrdCmsKeyItem * | theItem | ) | [static] |
References XrdCmsKey::Hash, XrdCmsKeyLoc::HashSave, Key, Loc, XrdCmsKey::TOD, and XrdCmsKey::TODRef.
XrdCmsKeyItem * XrdCmsKeyItem::Free = 0 [static, private] |
const int XrdCmsKeyItem::minAlloc = 4096 [static] |
Referenced by XrdCmsCache::Recycle().
const int XrdCmsKeyItem::minFree = 1024 [static] |
Referenced by XrdCmsCache::Recycle().
Referenced by XrdCmsNash::Add(), Alloc(), XrdCmsNash::Expand(), XrdCmsNash::Find(), XrdCmsNash::Recycle(), and Replenish().
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.3