xrootd
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
XrdOucCacheReal Class Reference

#include <XrdOucCacheReal.hh>

Inheritance diagram for XrdOucCacheReal:
Inheritance graph
[legend]
Collaboration diagram for XrdOucCacheReal:
Collaboration graph
[legend]

List of all members.

Classes

struct  prTask

Public Member Functions

XrdOucCacheIOAttach (XrdOucCacheIO *ioP, int Options=0)
int isAttached ()
 XrdOucCacheReal (int &rc, Parms &Parms, XrdOucCacheIO::aprParms *aprP=0)
 ~XrdOucCacheReal ()
void PreRead ()

Private Member Functions

void eMsg (const char *Path, const char *What, long long xOff, int xLen, int ec)
int Detach (XrdOucCacheIO *ioP)
char * Get (XrdOucCacheIO *ioP, long long lAddr, int &rGot, int &bIO)
int ioAdd (XrdOucCacheIO *KeyVal, int &iNum)
int ioDel (XrdOucCacheIO *KeyVal, int &iNum)
int ioEnt (XrdOucCacheIO *kVal)
int ioLookup (int &pip, int hip, void *kval)
int Ref (char *Addr, int rAmt, int sFlags=0)
void Trunc (XrdOucCacheIO *ioP, long long lAddr)
void Upd (char *Addr, int wAmt, int wOff)
void PreRead (XrdOucCacheReal::prTask *prReq)

Private Attributes

XrdOucCacheIO::aprParms aprDefault
XrdSysMutex CMutex
XrdOucCacheSlotSlots
int * Slash
char * Base
long long HNum
long long SegCnt
long long SegSize
long long OffMask
long long SegShft
int SegFull
int maxCache
int maxFiles
int Options
int * hTab
int hMax
int sFree
int sBeg
int sEnd
char Dbg
char Lgs
XrdSysSemaphoreAZero
int Attached
prTaskprFirst
prTaskprLast
XrdSysMutex prMutex
XrdSysSemaphore prReady
XrdSysSemaphoreprStop
int prNum

Static Private Attributes

static const long long Shift = 48
static const long long Strip = 0x00000000ffffffffLL
static const long long MaxFO = 0x000007ffffffffffLL

Friends

class XrdOucCacheData

Constructor & Destructor Documentation


Member Function Documentation

XrdOucCacheIO * XrdOucCacheReal::Attach ( XrdOucCacheIO ioP,
int  Options = 0 
) [virtual]
int XrdOucCacheReal::Detach ( XrdOucCacheIO ioP) [private]
void XrdOucCacheReal::eMsg ( const char *  Path,
const char *  What,
long long  xOff,
int  xLen,
int  ec 
) [private]

References Dbg.

Referenced by Get().

char * XrdOucCacheReal::Get ( XrdOucCacheIO ioP,
long long  lAddr,
int &  rGot,
int &  bIO 
) [private]
int XrdOucCacheReal::ioAdd ( XrdOucCacheIO KeyVal,
int &  iNum 
) [private]
int XrdOucCacheReal::ioDel ( XrdOucCacheIO KeyVal,
int &  iNum 
) [private]
int XrdOucCacheReal::ioEnt ( XrdOucCacheIO kVal) [inline, private]

References hMax.

Referenced by ioAdd(), and ioDel().

int XrdOucCacheReal::ioLookup ( int &  pip,
int  hip,
void *  kval 
) [inline, private]

References XrdOucCacheSlot::HLink, and Slots.

Referenced by ioAdd(), and ioDel().

int XrdOucCacheReal::isAttached ( ) [inline, virtual]

Reimplemented from XrdOucCache.

References Attached, CMutex, XrdSysMutex::Lock(), and XrdSysMutex::UnLock().

int XrdOucCacheReal::Ref ( char *  Addr,
int  rAmt,
int  sFlags = 0 
) [private]
void XrdOucCacheReal::Trunc ( XrdOucCacheIO ioP,
long long  lAddr 
) [private]
void XrdOucCacheReal::Upd ( char *  Addr,
int  wAmt,
int  wOff 
) [private]

Friends And Related Function Documentation

friend class XrdOucCacheData [friend]

Referenced by Attach().


Member Data Documentation

Referenced by Attach(), Detach(), and ~XrdOucCacheReal().

char* XrdOucCacheReal::Base [private]
char XrdOucCacheReal::Dbg [private]
int XrdOucCacheReal::hMax [private]

Referenced by ioEnt(), and XrdOucCacheReal().

long long XrdOucCacheReal::HNum [private]

Referenced by Detach(), Get(), Trunc(), and XrdOucCacheReal().

int* XrdOucCacheReal::hTab [private]

Referenced by ioAdd(), ioDel(), and XrdOucCacheReal().

char XrdOucCacheReal::Lgs [private]

Referenced by XrdOucCacheReal().

const long long XrdOucCacheReal::MaxFO = 0x000007ffffffffffLL [static, private]
long long XrdOucCacheReal::OffMask [private]
int XrdOucCacheReal::Options [private]

Referenced by PreRead().

Referenced by PreRead().

Referenced by PreRead(), and ~XrdOucCacheReal().

int XrdOucCacheReal::prNum [private]

Referenced by PreRead(), and ~XrdOucCacheReal().

Referenced by PreRead(), and ~XrdOucCacheReal().

int XrdOucCacheReal::sBeg [private]

Referenced by XrdOucCacheReal().

long long XrdOucCacheReal::SegCnt [private]
int XrdOucCacheReal::SegFull [private]

Referenced by Get(), and XrdOucCacheReal().

long long XrdOucCacheReal::SegShft [private]
long long XrdOucCacheReal::SegSize [private]
int XrdOucCacheReal::sEnd [private]

Referenced by XrdOucCacheReal().

int XrdOucCacheReal::sFree [private]

Referenced by ioAdd(), ioDel(), and XrdOucCacheReal().

const long long XrdOucCacheReal::Shift = 48 [static, private]
int* XrdOucCacheReal::Slash [private]

Referenced by Detach(), Get(), Trunc(), and XrdOucCacheReal().

const long long XrdOucCacheReal::Strip = 0x00000000ffffffffLL [static, private]

Referenced by Get().


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