[#BloombergLP-bdlmt-MultiQueueThreadPool-numElements-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/MultiQueueThreadPool.adoc[MultiQueueThreadPool]::numElements :relfileprefix: ../../../ :mrdocs: `numElements` overloads == Synopses Declared in `<bdlmt_multiqueuethreadpool.h>` Return an instantaneous snapshot of the total number of elements enqueued. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/MultiQueueThreadPool/numElements-0d.adoc[numElements]() const; ---- [.small]#xref:BloombergLP/bdlmt/MultiQueueThreadPool/numElements-0d.adoc[_» more..._]# Return an instantaneous snapshot of the number of elements enqueued in the queue associated with the specified `id` as a non‐negative integer, or ‐1 if `id` does not specify a valid queue. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/MultiQueueThreadPool/numElements-0e.adoc[numElements](int id) const; ---- [.small]#xref:BloombergLP/bdlmt/MultiQueueThreadPool/numElements-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#