xrootd
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdXrootdFileTable Class Reference

#include <XrdXrootdFile.hh>

Collaboration diagram for XrdXrootdFileTable:
Collaboration graph
[legend]

Public Member Functions

int Add (XrdXrootdFile *fp)
void Del (int fnum)
XrdXrootdFileGet (int fnum)
void Recycle (XrdXrootdMonitor *monP=0, int doDel=1)
 XrdXrootdFileTable ()
 ~XrdXrootdFileTable ()

Private Attributes

XrdXrootdFileFTab [XRD_FTABSIZE]
int FTfree
XrdXrootdFile ** XTab
int XTnum
int XTfree

Static Private Attributes

static const char * TraceID = "FileTable"

Constructor & Destructor Documentation

XrdXrootdFileTable::XrdXrootdFileTable ( )
inline

References FTab, FTfree, XTab, XTfree, and XTnum.

XrdXrootdFileTable::~XrdXrootdFileTable ( )
inline

References Recycle().

Member Function Documentation

int XrdXrootdFileTable::Add ( XrdXrootdFile fp)

References FTab, FTfree, XRD_FTABSIZE, XTab, XTfree, and XTnum.

Referenced by XrdXrootdProtocol::do_Open().

void XrdXrootdFileTable::Del ( int  fnum)

References FTab, FTfree, XRD_FTABSIZE, XTab, XTfree, and XTnum.

Referenced by XrdXrootdProtocol::do_Close().

XrdXrootdFile* XrdXrootdFileTable::Get ( int  fnum)
inline
void XrdXrootdFileTable::Recycle ( XrdXrootdMonitor monP = 0,
int  doDel = 1 
)

Member Data Documentation

XrdXrootdFile* XrdXrootdFileTable::FTab[XRD_FTABSIZE]
private
int XrdXrootdFileTable::FTfree
private

Referenced by Add(), Del(), Recycle(), and XrdXrootdFileTable().

const char * XrdXrootdFileTable::TraceID = "FileTable"
staticprivate
XrdXrootdFile** XrdXrootdFileTable::XTab
private
int XrdXrootdFileTable::XTfree
private

Referenced by Add(), Del(), Recycle(), and XrdXrootdFileTable().

int XrdXrootdFileTable::XTnum
private

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