![]() |
XRootD
|
Pool of buffer for caching writes. More...
#include <XrdEcWrtBuff.hh>
Public Member Functions | |
XrdCl::Buffer | Create (const ObjCfg &objcfg) |
Create now buffer (or recycle existing one) More... | |
void | Recycle (XrdCl::Buffer &&buffer) |
Give back a buffer to the poool. More... | |
Static Public Member Functions | |
static BufferPool & | Instance () |
Singleton access to the object. More... | |
Pool of buffer for caching writes.
Definition at line 48 of file XrdEcWrtBuff.hh.
|
inline |
Create now buffer (or recycle existing one)
Definition at line 64 of file XrdEcWrtBuff.hh.
References XrdEc::ObjCfg::blksize.
|
inlinestatic |
Singleton access to the object.
Definition at line 55 of file XrdEcWrtBuff.hh.
Referenced by XrdEc::WrtBuff::~WrtBuff().
|
inline |
Give back a buffer to the poool.
Definition at line 98 of file XrdEcWrtBuff.hh.
Referenced by XrdEc::WrtBuff::~WrtBuff().