xrootd
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
XrdCmsKeyItem Class Reference

#include <XrdCmsKey.hh>

Collaboration diagram for XrdCmsKeyItem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Recycle ()
void Reload ()
 XrdCmsKeyItem ()
 ~XrdCmsKeyItem ()

Static Public Member Functions

static XrdCmsKeyItemAlloc (unsigned int theTock)
static int Replenish ()
static void Stats (int &isAlloc, int &isFree, int &wasEmpty)
static XrdCmsKeyItemUnload (unsigned int theTock)
static XrdCmsKeyItemUnload (XrdCmsKeyItem *theItem)

Public Attributes

XrdCmsKeyLoc Loc
XrdCmsKey Key
XrdCmsKeyItemNext

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 XrdCmsKeyItemTockTable [TickRate] = {0}
static XrdCmsKeyItemFree = 0
static int numFree = 0
static int numHave = 0
static int numNull = 0

Constructor & Destructor Documentation

XrdCmsKeyItem::XrdCmsKeyItem ( ) [inline]
XrdCmsKeyItem::~XrdCmsKeyItem ( ) [inline]

Member Function Documentation

XrdCmsKeyItem * XrdCmsKeyItem::Alloc ( unsigned int  theTock) [static]
void XrdCmsKeyItem::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]
XrdCmsKeyItem * XrdCmsKeyItem::Unload ( XrdCmsKeyItem theItem) [static]

Member Data Documentation

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().

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]

The documentation for this class was generated from the following files: