xrootd
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends

XrdCmsCache Class Reference

#include <XrdCmsCache.hh>

Collaboration diagram for XrdCmsCache:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int AddFile (XrdCmsSelect &Sel, SMask_t mask)
int DelFile (XrdCmsSelect &Sel, SMask_t mask)
int GetFile (XrdCmsSelect &Sel, SMask_t mask)
int UnkFile (XrdCmsSelect &Sel, SMask_t mask)
int WT4File (XrdCmsSelect &Sel, SMask_t mask)
void Bounce (SMask_t smask, int SNum)
void Drop (SMask_t mask, int SNum, int xHi)
int Init (int fxHold, int fxDelay)
void * TickTock ()
 XrdCmsCache ()
 ~XrdCmsCache ()

Public Attributes

XrdCmsPList_Anchor Paths
SMask_t Vec
unsigned int Start
unsigned int End

Private Member Functions

void Add2Q (XrdCmsRRQInfo *Info, XrdCmsKeyItem *cp, int isrw)
void Dispatch (XrdCmsKeyItem *cinfo, short roQ, short rwQ)
SMask_t getBVec (unsigned int todA, unsigned int &todB)
void Recycle (XrdCmsKeyItem *theList)

Private Attributes

struct {
   SMask_t   Vec
   unsigned int   Start
   unsigned int   End
Bhistory [XrdCmsKeyItem::TickRate]
XrdSysMutex myMutex
XrdCmsNash CTable
unsigned int Bounced [STMax]
SMask_t okVec
unsigned int Tick
unsigned int Tock
unsigned int BClock
int DLTime
int Bhits
int Bmiss
int vecHi

Friends

class XrdCmsCacheJob

Constructor & Destructor Documentation

XrdCmsCache::XrdCmsCache ( ) [inline]

References Bhistory, and Bounced.

XrdCmsCache::~XrdCmsCache ( ) [inline]

Member Function Documentation

void XrdCmsCache::Add2Q ( XrdCmsRRQInfo Info,
XrdCmsKeyItem cp,
int  isrw 
) [private]
int XrdCmsCache::AddFile ( XrdCmsSelect Sel,
SMask_t  mask 
)
void XrdCmsCache::Bounce ( SMask_t  smask,
int  SNum 
)
int XrdCmsCache::DelFile ( XrdCmsSelect Sel,
SMask_t  mask 
)
void XrdCmsCache::Dispatch ( XrdCmsKeyItem cinfo,
short  roQ,
short  rwQ 
) [private]
void XrdCmsCache::Drop ( SMask_t  mask,
int  SNum,
int  xHi 
)

Referenced by XrdCmsCluster::Drop().

SMask_t XrdCmsCache::getBVec ( unsigned int  todA,
unsigned int &  todB 
) [private]

References DEBUG, and EPNAME.

int XrdCmsCache::GetFile ( XrdCmsSelect Sel,
SMask_t  mask 
)
int XrdCmsCache::Init ( int  fxHold,
int  fxDelay 
)
void XrdCmsCache::Recycle ( XrdCmsKeyItem theList) [private]
void * XrdCmsCache::TickTock ( )
int XrdCmsCache::UnkFile ( XrdCmsSelect Sel,
SMask_t  mask 
)
int XrdCmsCache::WT4File ( XrdCmsSelect Sel,
SMask_t  mask 
)

Friends And Related Function Documentation

friend class XrdCmsCacheJob [friend]

Member Data Documentation

unsigned int XrdCmsCache::BClock [private]

Referenced by XrdCmsCache().

int XrdCmsCache::Bhits [private]
int XrdCmsCache::Bmiss [private]
unsigned int XrdCmsCache::Bounced[STMax] [private]

Referenced by XrdCmsCache().

int XrdCmsCache::DLTime [private]
unsigned int XrdCmsCache::End
unsigned int XrdCmsCache::Start
unsigned int XrdCmsCache::Tick [private]
unsigned int XrdCmsCache::Tock [private]
int XrdCmsCache::vecHi [private]

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