[#BloombergLP-bdlmt-MultiQueueThreadPool-batchSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::batchSize :relfileprefix: ../../../ :mrdocs: Return the batch size of queue `id`, or ‐1 if invalid. == Synopsis Declared in `<bdlmt_multiqueuethreadpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int batchSize(int id) const; ---- == Description Return an instantaneous snapshot of the execution batch size (see []Execution Batch Size)) of the queue associated with the specified `id`, or ‐1 if `id` is not a valid queue id. 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 execution batch size of the queue, or ‐1 if `id` is not a valid queue id == Parameters [cols="1,4"] |=== | Name| Description | *id* | queue identifier |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#