[#BloombergLP-bdlmt-Throttle_InitHelper]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::Throttle&lowbar;InitHelper
:relfileprefix: ../../
:mrdocs:

Private helper that validates compile&hyphen;time throttle initialization arguments&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;throttle&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    int t&lowbar;MAX&lowbar;SIMULTANEOUS&lowbar;ACTIONS,
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] t&lowbar;NANOSECONDS&lowbar;PER&lowbar;ACTION&gt;
class Throttle&lowbar;InitHelper;
----

== Description

&lsqb;*PRIVATE*&rsqb;This component private meta&hyphen;function is used to implement the initialization macros&period; This type provides the following&colon; &ast; Ensures arguments are evaluated at compile time (which won&apos;t be the case for floating point arguments) &ast; Enables compile time checks with BSLMF&lowbar;ASSERT &ast; Handles special cases if 0 is passed for `t&lowbar;MAX&lowbar;SIMULTANEOUS&lowbar;ACTIONS` or `t&lowbar;NANOSECONDS&lowbar;PER&lowbar;ACTION`

== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlmt/Throttle_InitHelper/k_msaValue.adoc[`k&lowbar;msaValue`] 
| Compile&hyphen;time maximum simultaneous actions value for initialization macros&period;
| xref:BloombergLP/bdlmt/Throttle_InitHelper/k_npaValue.adoc[`k&lowbar;npaValue`] 
| Compile&hyphen;time nanoseconds&hyphen;per&hyphen;action value for initialization macros&period;
|===



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