#include <XrdBuffer.hh>
Static Private Attributes |
| static const char * | TraceID = "BuffManager" |
Constructor & Destructor Documentation
| XrdBuffManager::~XrdBuffManager |
( |
| ) |
|
|
inline |
Member Function Documentation
| void XrdBuffManager::Init |
( |
| ) |
|
| int XrdBuffManager::MaxSize |
( |
| ) |
|
|
inline |
| XrdBuffer * XrdBuffManager::Obtain |
( |
int |
bsz | ) |
|
References bnext, bucket, XrdSysCondVar::Lock(), maxalo, maxsz, XrdBuffer::next, pagsz, Reshaper, rsinprog, shift, XrdSysCondVar::Signal(), slots, totalo, totbuf, totreq, and XrdSysCondVar::UnLock().
Referenced by XrdXrootdAio::Alloc(), XrdXrootdProtocol::getBuff(), and XrdXrootdProtocol::Process().
| int XrdBuffManager::Recalc |
( |
int |
bsz | ) |
|
| void XrdBuffManager::Release |
( |
XrdBuffer * |
bp | ) |
|
| void XrdBuffManager::Reshape |
( |
| ) |
|
References bnext, bucket, XrdSysCondVar::Lock(), maxalo, maxsz, minrsw, XrdBuffer::next, numbuf, Reshaper, rsinprog, slots, totadj, totalo, totbuf, totreq, TRACE, XrdSysCondVar::UnLock(), XrdSysCondVar::Wait(), XrdSysTimer::Wait(), and XRD_BUCKETS.
Referenced by XrdReshaper().
| void XrdBuffManager::Set |
( |
int |
maxmem = -1, |
|
|
int |
minw = -1 |
|
) |
| |
| int XrdBuffManager::Stats |
( |
char * |
buff, |
|
|
int |
blen, |
|
|
int |
do_sync = 0 |
|
) |
| |
Member Data Documentation
| long long XrdBuffManager::maxalo |
|
private |
| const int XrdBuffManager::maxsz |
|
private |
| int XrdBuffManager::minrsw |
|
private |
| int XrdBuffManager::numbuf |
| int XrdBuffManager::numreq |
| 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 = "BuffManager" |
|
staticprivate |
The documentation for this class was generated from the following files: