BloombergLP::bdlbb::PooledBlobBufferFactory::PooledBlobBufferFactory

Constructors

Synopses

Declared in <bdlbb_pooledblobbufferfactory.h>

Create a pooled factory for allocating BlobBuffer objects of the specified bufferSize.

PooledBlobBufferFactory(
    int bufferSize,
    bslma::Allocator* basicAllocator = 0);
» more...

See the overload above for contract.

PooledBlobBufferFactory(
    int bufferSize,
    bsls::BlockGrowth::Strategy growthStrategy,
    bslma::Allocator* basicAllocator = 0);
» more...

See the overload above for contract.

PooledBlobBufferFactory(
    int bufferSize,
    bsls::BlockGrowth::Strategy growthStrategy,
    int maxBlocksPerChunk,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
bufferSizesize of each allocated blob buffer
basicAllocatormemory allocator; null uses the default
growthStrategystrategy controlling growth of internal chunks
maxBlocksPerChunkmaximum blocks allocated when replenishing