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 (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 (  ) 

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

struct { ... } XrdBuffManager::bucket[XRD_BUCKETS] [private]
long long XrdBuffManager::maxalo [private]
const int XrdBuffManager::maxsz [private]

Referenced by MaxSize().

int XrdBuffManager::minrsw [private]
const int XrdBuffManager::pagsz [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 [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 11 Jun 2020 for xrootd by  doxygen 1.6.1