Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdBuffManager Class Reference

#include <XrdBuffer.hh>

Collaboration diagram for XrdBuffManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Init ()
XrdBufferObtain (int bsz)
int Recalc (int bsz)
void Release (XrdBuffer *bp)
int MaxSize ()
void Reshape ()
void Set (int maxmem=-1, int minw=-1)
int Stats (char *buff, int blen, int do_sync=0)
 XrdBuffManager (int minrst=20 *60)
 ~XrdBuffManager ()

Private Attributes

const int slots
const int shift
const int pagsz
const int maxsz
struct {
   XrdBuffer *   bnext
   int   numbuf
   int   numreq
bucket [XRD_BUCKETS]
int totreq
int totbuf
long long totalo
long long maxalo
int minrsw
int rsinprog
int totadj
XrdSysCondVar Reshaper

Static Private Attributes

const char * TraceID = "BuffManager"

Constructor & Destructor Documentation

XrdBuffManager::XrdBuffManager int  minrst = 20 *60  ) 
 

XrdBuffManager::~XrdBuffManager  )  [inline]
 


Member Function Documentation

void XrdBuffManager::Init  ) 
 

int XrdBuffManager::MaxSize  )  [inline]
 

XrdBuffer * XrdBuffManager::Obtain int  bsz  ) 
 

int XrdBuffManager::Recalc int  bsz  ) 
 

void XrdBuffManager::Release XrdBuffer bp  ) 
 

void XrdBuffManager::Reshape  ) 
 

void XrdBuffManager::Set int  maxmem = -1,
int  minw = -1
 

int XrdBuffManager::Stats char *  buff,
int  blen,
int  do_sync = 0
 


Member Data Documentation

XrdBuffer* XrdBuffManager::bnext [private]
 

struct { ... } XrdBuffManager::bucket[XRD_BUCKETS] [private]
 

long long XrdBuffManager::maxalo [private]
 

const int XrdBuffManager::maxsz [private]
 

int XrdBuffManager::minrsw [private]
 

int XrdBuffManager::numbuf [private]
 

int XrdBuffManager::numreq [private]
 

const int XrdBuffManager::pagsz [private]
 

XrdSysCondVar XrdBuffManager::Reshaper [private]
 

int XrdBuffManager::rsinprog [private]
 

const int XrdBuffManager::shift [private]
 

const int XrdBuffManager::slots [private]
 

int XrdBuffManager::totadj [private]
 

long long XrdBuffManager::totalo [private]
 

int XrdBuffManager::totbuf [private]
 

int XrdBuffManager::totreq [private]
 

const char * XrdBuffManager::TraceID = "BuffManager" [static, private]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:41:51 2011 for xrootd by  doxygen 1.3.9.1