xrootd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
XrdCmsCache Class Reference

#include <XrdCmsCache.hh>

Collaboration diagram for XrdCmsCache:
Collaboration graph
[legend]

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, int fxQuery, int seFS, int nxHold)
 
void * TickTock ()
 
 XrdCmsCache ()
 
 ~XrdCmsCache ()
 

Public Attributes

XrdCmsPList_Anchor Paths
 

Static Public Attributes

static const int min_nxTime = 60
 

Private Member Functions

void Add2Q (XrdCmsRRQInfo *Info, XrdCmsKeyItem *cp, int selOpts)
 
void Dispatch (XrdCmsSelect &Sel, 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 nilTMO
 
int DLTime
 
int QDelay
 
int Bhits
 
int Bmiss
 
int vecHi
 
int isDFS
 

Friends

class XrdCmsCacheJob
 

Constructor & Destructor Documentation

◆ XrdCmsCache()

XrdCmsCache::XrdCmsCache ( )
inline

References Bhistory, and Bounced.

◆ ~XrdCmsCache()

XrdCmsCache::~XrdCmsCache ( )
inline

Member Function Documentation

◆ Add2Q()

void XrdCmsCache::Add2Q ( XrdCmsRRQInfo Info,
XrdCmsKeyItem cp,
int  selOpts 
)
private

◆ AddFile()

int XrdCmsCache::AddFile ( XrdCmsSelect Sel,
SMask_t  mask 
)

◆ Bounce()

void XrdCmsCache::Bounce ( SMask_t  smask,
int  SNum 
)

◆ DelFile()

int XrdCmsCache::DelFile ( XrdCmsSelect Sel,
SMask_t  mask 
)

◆ Dispatch()

void XrdCmsCache::Dispatch ( XrdCmsSelect Sel,
XrdCmsKeyItem cinfo,
short  roQ,
short  rwQ 
)
private

◆ Drop()

void XrdCmsCache::Drop ( SMask_t  mask,
int  SNum,
int  xHi 
)

◆ getBVec()

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

◆ GetFile()

int XrdCmsCache::GetFile ( XrdCmsSelect Sel,
SMask_t  mask 
)

◆ Init()

int XrdCmsCache::Init ( int  fxHold,
int  fxDelay,
int  fxQuery,
int  seFS,
int  nxHold 
)

◆ Recycle()

void XrdCmsCache::Recycle ( XrdCmsKeyItem theList)
private

◆ TickTock()

void * XrdCmsCache::TickTock ( )

◆ UnkFile()

int XrdCmsCache::UnkFile ( XrdCmsSelect Sel,
SMask_t  mask 
)

◆ WT4File()

int XrdCmsCache::WT4File ( XrdCmsSelect Sel,
SMask_t  mask 
)

Friends And Related Symbol Documentation

◆ XrdCmsCacheJob

friend class XrdCmsCacheJob
friend

Member Data Documentation

◆ BClock

unsigned int XrdCmsCache::BClock
private

◆ [struct]

struct { ... } XrdCmsCache::Bhistory[XrdCmsKeyItem::TickRate]

Referenced by XrdCmsCache().

◆ Bhits

int XrdCmsCache::Bhits
private

◆ Bmiss

int XrdCmsCache::Bmiss
private

◆ Bounced

unsigned int XrdCmsCache::Bounced[STMax]
private

Referenced by XrdCmsCache().

◆ CTable

XrdCmsNash XrdCmsCache::CTable
private

◆ DLTime

int XrdCmsCache::DLTime
private

◆ End

unsigned int XrdCmsCache::End

◆ isDFS

int XrdCmsCache::isDFS
private

◆ min_nxTime

const int XrdCmsCache::min_nxTime = 60
static

◆ myMutex

XrdSysMutex XrdCmsCache::myMutex
private

◆ nilTMO

int XrdCmsCache::nilTMO
private

◆ okVec

SMask_t XrdCmsCache::okVec
private

◆ Paths

XrdCmsPList_Anchor XrdCmsCache::Paths

◆ QDelay

int XrdCmsCache::QDelay
private

◆ Start

unsigned int XrdCmsCache::Start

◆ Tick

unsigned int XrdCmsCache::Tick
private

◆ Tock

unsigned int XrdCmsCache::Tock
private

◆ Vec

SMask_t XrdCmsCache::Vec

◆ vecHi

int XrdCmsCache::vecHi
private

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