[#BloombergLP-balm-PublicationScheduler-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/PublicationScheduler.adoc[PublicationScheduler]::PublicationScheduler
:relfileprefix: ../../../
:mrdocs:

Create a publication scheduler that will use the specified `metricsManager` to publish metrics, and the specified `eventScheduler` to supply timer events&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

Declared in `&lt;balm&lowbar;publicationscheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
PublicationScheduler(
    xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]* metricsManager,
    xref:BloombergLP/bdlmt/TimerEventScheduler.adoc[bdlmt::TimerEventScheduler]* eventScheduler,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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