BloombergLP::bdlmt::MultiQueueThreadPool_Queue::batchSize

Return this queue's execution batch size.

Synopsis

Declared in <bdlmt_multiqueuethreadpool.h>

int
batchSize() const;

Description

Return an instantaneous snapshot of the execution batch size (see {Job Execution Batch Size}). When a thread is selecting jobs for processing, if fewer than batchSize jobs are available then only the available jobs will be processed in the current batch.

Return Value

instantaneous snapshot of the execution batch size