xrootd
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
XrdOucCacheSlot Class Reference

#include <XrdOucCacheSlot.hh>

Collaboration diagram for XrdOucCacheSlot:
Collaboration graph
[legend]

Classes

struct  ioQ
 
struct  SlotList
 
union  SlotState
 

Public Member Functions

void File (XrdOucCacheIO *kV, int you)
 
void Hide (XrdOucCacheSlot *Base, int *hTab, int hI)
 
int Pull (XrdOucCacheSlot *Base)
 
int Push (XrdOucCacheSlot *Base, XrdOucCacheSlot *sP)
 
void Owner (XrdOucCacheSlot *Base)
 
void Owner (XrdOucCacheSlot *Base, XrdOucCacheSlot *sP)
 
void reRef (XrdOucCacheSlot *Base)
 
void unRef (XrdOucCacheSlot *Base)
 
 XrdOucCacheSlot ()
 
 ~XrdOucCacheSlot ()
 

Static Public Member Functions

static int Find (XrdOucCacheSlot *Base, long long What, int n)
 
static void Init (XrdOucCacheSlot *Base, int Num)
 

Public Attributes

union {
   long long   Contents
 
   XrdOucCacheIO *   Key
 
}; 
 
SlotState Status
 
SlotList Own
 
int HLink
 
int Count
 

Static Public Attributes

static const int lenMask = 0x01ffffff
 
static const int isShort = 0x80000000
 
static const int inTrans = 0x40000000
 
static const int isSUSE = 0x20000000
 
static const int isNew = 0x10000000
 

Constructor & Destructor Documentation

◆ XrdOucCacheSlot()

XrdOucCacheSlot::XrdOucCacheSlot ( )
inline

◆ ~XrdOucCacheSlot()

XrdOucCacheSlot::~XrdOucCacheSlot ( )
inline

Member Function Documentation

◆ File()

void XrdOucCacheSlot::File ( XrdOucCacheIO kV,
int  you 
)
inline

◆ Find()

static int XrdOucCacheSlot::Find ( XrdOucCacheSlot Base,
long long  What,
int  n 
)
inlinestatic

References Contents, and HLink.

◆ Hide()

void XrdOucCacheSlot::Hide ( XrdOucCacheSlot Base,
int *  hTab,
int  hI 
)
inline

References Contents, Count, and HLink.

◆ Init()

static void XrdOucCacheSlot::Init ( XrdOucCacheSlot Base,
int  Num 
)
inlinestatic

◆ Owner() [1/2]

void XrdOucCacheSlot::Owner ( XrdOucCacheSlot Base)
inline

◆ Owner() [2/2]

void XrdOucCacheSlot::Owner ( XrdOucCacheSlot Base,
XrdOucCacheSlot sP 
)
inline

◆ Pull()

int XrdOucCacheSlot::Pull ( XrdOucCacheSlot Base)
inline

◆ Push()

int XrdOucCacheSlot::Push ( XrdOucCacheSlot Base,
XrdOucCacheSlot sP 
)
inline

◆ reRef()

void XrdOucCacheSlot::reRef ( XrdOucCacheSlot Base)
inline

◆ unRef()

void XrdOucCacheSlot::unRef ( XrdOucCacheSlot Base)
inline

Member Data Documentation

◆ @1

union { ... }

◆ Contents

long long XrdOucCacheSlot::Contents

Referenced by Find(), and Hide().

◆ Count

int XrdOucCacheSlot::Count

Referenced by File(), and Hide().

◆ HLink

int XrdOucCacheSlot::HLink

◆ inTrans

const int XrdOucCacheSlot::inTrans = 0x40000000
static

◆ isNew

const int XrdOucCacheSlot::isNew = 0x10000000
static

◆ isShort

const int XrdOucCacheSlot::isShort = 0x80000000
static

◆ isSUSE

const int XrdOucCacheSlot::isSUSE = 0x20000000
static

◆ Key

XrdOucCacheIO* XrdOucCacheSlot::Key

Referenced by File().

◆ lenMask

const int XrdOucCacheSlot::lenMask = 0x01ffffff
static

◆ Own

SlotList XrdOucCacheSlot::Own

Referenced by Init(), and Owner().

◆ Status

SlotState XrdOucCacheSlot::Status

Referenced by File(), Init(), Pull(), Push(), reRef(), and unRef().


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