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

#include <XrdBuffer.hh>

Collaboration diagram for XrdBuffManager:
Collaboration graph
[legend]

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 (XrdSysError *lP, XrdOucTrace *tP, int minrst=20 *60)
 
 ~XrdBuffManager ()
 

Private Attributes

XrdOucTraceXrdTrace
 
XrdSysErrorXrdLog
 
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

static const char * TraceID
 

Constructor & Destructor Documentation

XrdBuffManager::XrdBuffManager ( XrdSysError lP,
XrdOucTrace tP,
int  minrst = 20 *60 
)
XrdBuffManager::~XrdBuffManager ( )
inline

Member Function Documentation

void XrdBuffManager::Init ( )
int XrdBuffManager::MaxSize ( )
inline

References maxsz.

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
struct { ... } XrdBuffManager::bucket[XRD_BUCKETS]
long long XrdBuffManager::maxalo
private
const int XrdBuffManager::maxsz
private

Referenced by MaxSize().

int XrdBuffManager::minrsw
private
int XrdBuffManager::numbuf
int XrdBuffManager::numreq
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
staticprivate
XrdSysError* XrdBuffManager::XrdLog
private
XrdOucTrace* XrdBuffManager::XrdTrace
private

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