[#BloombergLP-bdlmt-Throttle-initialize-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/Throttle.adoc[Throttle]::initialize
:relfileprefix: ../../../
:mrdocs:

`initialize` overloads

== Synopses

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

Initialize this throttle with the specified rate and burst limits&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlmt/Throttle/initialize-09.adoc[initialize](
    int maxSimultaneousActions,
    xref:BloombergLP/bdlmt/Throttle.adoc[Int64] nanosecondsPerAction,
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType = bsls&colon;&colon;SystemClockType&colon;&colon;e&lowbar;MONOTONIC);
----

[.small]#xref:BloombergLP/bdlmt/Throttle/initialize-09.adoc[_» more&period;&period;&period;_]#

Initialize this throttle using the monotonic clock and specified limits&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlmt/Throttle/initialize-0f.adoc[initialize](
    int maxSimultaneousActions,
    xref:BloombergLP/bdlmt/Throttle.adoc[Int64] nanosecondsPerAction,
    std::chrono::steady&lowbar;clock const& clock);
----

[.small]#xref:BloombergLP/bdlmt/Throttle/initialize-0f.adoc[_» more&period;&period;&period;_]#

Initialize this throttle using the realtime clock and specified limits&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlmt/Throttle/initialize-0d.adoc[initialize](
    int maxSimultaneousActions,
    xref:BloombergLP/bdlmt/Throttle.adoc[Int64] nanosecondsPerAction,
    std::chrono::system&lowbar;clock const& clock);
----

[.small]#xref:BloombergLP/bdlmt/Throttle/initialize-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *maxSimultaneousActions*
| maximum actions allowed at one time
| *nanosecondsPerAction*
| minimum average period between actions
| *clockType*
| system clock used to measure time
| *clock*
| unused&semi; selects the monotonic system clock
|===


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