This class implements the BlobBufferFactory protocol and provides a mechanism for allocating BlobBuffer objects of a fixed size passed at construction.
Declared in <bdlbb_pooledblobbufferfactory.h>
class PooledBlobBufferFactory
: public BlobBufferFactory
| Name | Description |
|---|---|
BlobBufferFactory | This class defines a base-level protocol for a BlobBuffer factory. |
| Name | Description |
|---|---|
PooledBlobBufferFactory [constructor] | Constructors |
~PooledBlobBufferFactory [destructor] [virtual] | Destroy this factory. This operation releases all BlobBuffer objects allocated via this factory. |
allocate [virtual] | Allocate a new buffer with the buffer size specified at construction and load it into the specified buffer. Note that destruction of the bdlbb::PooledBlobBufferFactory object releases all BlobBuffer objects allocated via this factory. |
bufferSize | Return the buffer size specified at construction of this factory. |