#include <XrdOlbCache.hh>
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< XrdOlbCInfo > | PTable |
| int | LifeTime |
Friends |
| class | XrdOlbCache_Scrubber |
Constructor & Destructor Documentation
| XrdOlbCache::XrdOlbCache |
( |
|
) |
[inline] |
| XrdOlbCache::~XrdOlbCache |
( |
|
) |
[inline] |
Member Function Documentation
| int XrdOlbCache::AddFile |
( |
const char * |
path, |
|
|
SMask_t |
mask, |
|
|
int |
isrw = -1, |
|
|
int |
dltime = 0, |
|
|
XrdOlbRRQInfo * |
Info = 0 | |
|
) |
| | |
References XrdOucHash< T >::Add(), Add2Q(), XrdOlbCInfo::deadline, Dispatch(), XrdOucHash< T >::Find(), XrdOlbPList_Anchor::Find(), XrdOlbCInfo::hfvec, LifeTime, XrdSysMutex::Lock(), Paths, XrdOlbCInfo::pfvec, PTable, PTMutex, XrdOlbCInfo::roPend, XrdOlbCInfo::rwPend, XrdOlbPInfo::rwvec, XrdOlbCInfo::sbvec, and XrdSysMutex::UnLock().
| 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 | |
|
) |
| | |
| void XrdOlbCache::Reset |
( |
int |
servid |
) |
|
| void XrdOlbCache::Scrub |
( |
|
) |
|
| void XrdOlbCache::setLifetime |
( |
int |
lsec |
) |
[inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: