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

XrdOlbCache Class Reference

#include <XrdOlbCache.hh>

Collaboration diagram for XrdOlbCache:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int AddFile (const char *path, SMask_t mask, int isrw=-1, int dltime=0, XrdOlbRRQInfo *Info=0)
void DelCache (const char *path)
int DelFile (const char *path, SMask_t mask, int dltime=0)
int GetFile (const char *path, XrdOlbCInfo &cinfo, int isrw=0, XrdOlbRRQInfo *Info=0)
void Apply (int(*func)(const char *, XrdOlbCInfo *, void *), void *Arg)
void Bounce (SMask_t mask, char *path=0)
void Extract (const char *pathpfx, XrdOucHash< char > *hashp)
void Reset (int servid)
void Scrub ()
void setLifetime (int lsec)
 XrdOlbCache ()
 ~XrdOlbCache ()

Public Attributes

XrdOlbPList_Anchor Paths

Private Member Functions

void Add2Q (XrdOlbRRQInfo *Info, XrdOlbCInfo *cp, int isrw)
void Dispatch (XrdOlbCInfo *cinfo, short roQ, short rwQ)

Private Attributes

XrdSysMutex PTMutex
XrdOucHash< XrdOlbCInfoPTable
int LifeTime

Friends

class XrdOlbCache_Scrubber

Constructor & Destructor Documentation

XrdOlbCache::XrdOlbCache (  )  [inline]

References LifeTime.

XrdOlbCache::~XrdOlbCache (  )  [inline]

Member Function Documentation

void XrdOlbCache::Add2Q ( XrdOlbRRQInfo Info,
XrdOlbCInfo cp,
int  isrw 
) [private]
int XrdOlbCache::AddFile ( const char *  path,
SMask_t  mask,
int  isrw = -1,
int  dltime = 0,
XrdOlbRRQInfo Info = 0 
)
void XrdOlbCache::Apply ( int(*)(const char *, XrdOlbCInfo *, void *)  func,
void *  Arg 
)
void XrdOlbCache::Bounce ( SMask_t  mask,
char *  path = 0 
)
void XrdOlbCache::DelCache ( const char *  path  ) 
int XrdOlbCache::DelFile ( const char *  path,
SMask_t  mask,
int  dltime = 0 
)
void XrdOlbCache::Dispatch ( XrdOlbCInfo cinfo,
short  roQ,
short  rwQ 
) [private]
void XrdOlbCache::Extract ( const char *  pathpfx,
XrdOucHash< char > *  hashp 
)
int XrdOlbCache::GetFile ( const char *  path,
XrdOlbCInfo cinfo,
int  isrw = 0,
XrdOlbRRQInfo Info = 0 
)
void XrdOlbCache::Reset ( int  servid  ) 
void XrdOlbCache::Scrub (  ) 
void XrdOlbCache::setLifetime ( int  lsec  )  [inline]

References LifeTime.


Friends And Related Function Documentation

friend class XrdOlbCache_Scrubber [friend]

Member Data Documentation

int XrdOlbCache::LifeTime [private]

Referenced by AddFile().


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