[#BloombergLP-ball-AttributeCollectorRegistry-numCollectors]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AttributeCollectorRegistry.adoc[AttributeCollectorRegistry]::numCollectors
:relfileprefix: ../../../
:mrdocs:

Return the number of collectors registered with this object&period; Note that this method is provided primarily for debugging purposes (i&period;e&period;, its return value can be invalidated from another thread)&period;

== Synopsis

Declared in `&lt;ball&lowbar;attributecollectorregistry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
numCollectors() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
