XrdXrootdPio Class Reference

#include <XrdXrootdPio.hh>

List of all members.

Public Member Functions

XrdXrootdPioClear (XrdXrootdPio *np=0)
void Recycle ()
void Set (XrdXrootdFile *theFile, long long theOffset, int theIOLen, const kXR_char *theSID, char theW)
 XrdXrootdPio (XrdXrootdPio *np=0)
 ~XrdXrootdPio ()

Static Public Member Functions

static XrdXrootdPioAlloc (int n=1)

Public Attributes

XrdXrootdPioNext
XrdXrootdFilemyFile
long long myOffset
int myIOLen
kXR_char StreamID [2]
char isWrite

Static Private Attributes

static const int FreeMax = 256
static XrdSysMutex myMutex
static XrdXrootdPioFree
static int FreeNum


Detailed Description

Definition at line 20 of file XrdXrootdPio.hh.


Constructor & Destructor Documentation

XrdXrootdPio::XrdXrootdPio ( XrdXrootdPio np = 0  )  [inline]

Definition at line 50 of file XrdXrootdPio.hh.

References Clear().

Referenced by Alloc().

XrdXrootdPio::~XrdXrootdPio (  )  [inline]

Definition at line 51 of file XrdXrootdPio.hh.


Member Function Documentation

XrdXrootdPio * XrdXrootdPio::Alloc ( int  n = 1  )  [static]

Definition at line 29 of file XrdXrootdPio.cc.

References Free, FreeNum, XrdSysMutex::Lock(), myMutex, Next, XrdSysMutex::UnLock(), and XrdXrootdPio().

Referenced by XrdXrootdProtocol::do_Bind().

XrdXrootdPio* XrdXrootdPio::Clear ( XrdXrootdPio np = 0  )  [inline]

Definition at line 33 of file XrdXrootdPio.hh.

References Next, and Set().

Referenced by Recycle(), and XrdXrootdPio().

void XrdXrootdPio::Recycle (  ) 

Definition at line 57 of file XrdXrootdPio.cc.

References Clear(), Free, FreeMax, FreeNum, XrdSysMutex::Lock(), myMutex, and XrdSysMutex::UnLock().

Referenced by XrdXrootdProtocol::Cleanup().

void XrdXrootdPio::Set ( XrdXrootdFile theFile,
long long  theOffset,
int  theIOLen,
const kXR_char theSID,
char  theW 
) [inline]

Definition at line 41 of file XrdXrootdPio.hh.

References isWrite, myFile, myIOLen, myOffset, and StreamID.

Referenced by Clear(), and XrdXrootdProtocol::do_Offload().


Member Data Documentation

XrdXrootdPio* XrdXrootdPio::Next

Definition at line 24 of file XrdXrootdPio.hh.

Referenced by Alloc(), XrdXrootdProtocol::Cleanup(), Clear(), XrdXrootdProtocol::do_Offload(), and XrdXrootdProtocol::do_OffloadIO().

XrdXrootdFile* XrdXrootdPio::myFile

Definition at line 25 of file XrdXrootdPio.hh.

Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().

long long XrdXrootdPio::myOffset

Definition at line 26 of file XrdXrootdPio.hh.

Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().

int XrdXrootdPio::myIOLen

Definition at line 27 of file XrdXrootdPio.hh.

Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().

kXR_char XrdXrootdPio::StreamID[2]

Definition at line 28 of file XrdXrootdPio.hh.

Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().

char XrdXrootdPio::isWrite

Definition at line 29 of file XrdXrootdPio.hh.

Referenced by XrdXrootdProtocol::do_OffloadIO(), and Set().

const int XrdXrootdPio::FreeMax = 256 [static, private]

Definition at line 55 of file XrdXrootdPio.hh.

Referenced by Recycle().

XrdSysMutex XrdXrootdPio::myMutex [static, private]

Definition at line 56 of file XrdXrootdPio.hh.

Referenced by Alloc(), and Recycle().

XrdXrootdPio * XrdXrootdPio::Free [static, private]

Definition at line 57 of file XrdXrootdPio.hh.

Referenced by Alloc(), and Recycle().

int XrdXrootdPio::FreeNum [static, private]

Definition at line 58 of file XrdXrootdPio.hh.

Referenced by Alloc(), and Recycle().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:48 2011 for ROOT_528-00b_version by  doxygen 1.5.1