[#BloombergLP-bdlbb-PooledBlobBufferFactory] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::PooledBlobBufferFactory :relfileprefix: ../../ :mrdocs: This class implements the `BlobBufferFactory` protocol and provides a mechanism for allocating `BlobBuffer` objects of a fixed size passed at construction. == Synopsis Declared in `<bdlbb_pooledblobbufferfactory.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PooledBlobBufferFactory : public xref:BloombergLP/bdlbb/BlobBufferFactory.adoc[BlobBufferFactory] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlbb/BlobBufferFactory.adoc[BlobBufferFactory]` | This class defines a base‐level protocol for a `BlobBuffer` factory. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlbb/PooledBlobBufferFactory/2constructor-07.adoc[`PooledBlobBufferFactory`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlbb/PooledBlobBufferFactory/2destructor.adoc[`~PooledBlobBufferFactory`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this factory. This operation releases all `BlobBuffer` objects allocated via this factory. | xref:BloombergLP/bdlbb/PooledBlobBufferFactory/allocate.adoc[`allocate`] [.small]#[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. | xref:BloombergLP/bdlbb/PooledBlobBufferFactory/bufferSize.adoc[`bufferSize`] | Return the buffer size specified at construction of this factory. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#