![]() |
XRootD
|
Buffer pool - to limit memory consumption. More...
Public Member Functions | |
std::shared_ptr< std::vector< char > > | Allocate (size_t length) |
Static Public Member Functions | |
static BufferPool & | Instance () |
Single instance access. More... | |
Buffer pool - to limit memory consumption.
Definition at line 56 of file XrdClReplay.cc.
|
inline |
Allocate a buffer if has available memory, otherwise wait until enough memory has been reclaimed
Definition at line 73 of file XrdClReplay.cc.
|
inlinestatic |
Single instance access.
Definition at line 63 of file XrdClReplay.cc.