![]() |
XRootD
|
#include <XrdXrootdFile.hh>
Public Member Functions | |
XrdXrootdFileTable (unsigned int mid=0) | |
int | Add (XrdXrootdFile *fp) |
XrdXrootdFile * | Del (XrdXrootdMonitor *monP, int fnum, bool dodel=true) |
XrdXrootdFile * | Get (int fnum) |
void | Recycle (XrdXrootdMonitor *monP) |
Static Public Attributes | |
static XrdXrootdFile * | heldSpotP = (XrdXrootdFile *)1 |
Definition at line 161 of file XrdXrootdFile.hh.
|
inline |
Definition at line 186 of file XrdXrootdFile.hh.
int XrdXrootdFileTable::Add | ( | XrdXrootdFile * | fp | ) |
Definition at line 206 of file XrdXrootdFile.cc.
References eDest, XrdSysError::Emsg(), XrdXrootdFile::FileKey, XrdXrootdFileHP::Get(), heldSpotP, TRACEI, and XRD_FTABSIZE.
XrdXrootdFile * XrdXrootdFileTable::Del | ( | XrdXrootdMonitor * | monP, |
int | fnum, | ||
bool | dodel = true |
||
) |
!! For now we add pgreads to normal reads and pgwrite to normal writes !! Once we figure out how to report them separately, we need to do this.
Definition at line 277 of file XrdXrootdFile.cc.
References XrdXrootdMonitor::Close(), XrdXrootdMonFile::Close(), heldSpotP, XrdXrootdFileHP::Ref(), XrdPosixGlobals::Stats, TRACEI, and XRD_FTABSIZE.
|
inline |
Definition at line 169 of file XrdXrootdFile.hh.
References heldSpotP, and XRD_FTABSIZE.
Referenced by XrdXrootdProtocol::do_WriteSpan(), and XrdXrootdProtocol::SetSF().
void XrdXrootdFileTable::Recycle | ( | XrdXrootdMonitor * | monP | ) |
Definition at line 333 of file XrdXrootdFile.cc.
References XrdXrootdMonitor::Close(), XrdXrootdMonFile::Close(), XrdXrootdFileHP::Delete(), heldSpotP, XrdPosixGlobals::Stats, XrdXrootdFile::Stats, and XRD_FTABSIZE.
|
static |