Create a publication scheduler that publishes via metricsManager.
Declared in <balm_publicationscheduler.h>
PublicationScheduler(
MetricsManager* metricsManager,
bdlmt::TimerEventScheduler* eventScheduler,
bslma::Allocator* basicAllocator = 0);
Create a publication scheduler that will use the specified metricsManager to publish metrics, and the specified eventScheduler to supply timer events. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| metricsManager | metrics manager used to publish metrics |
| eventScheduler | timer-event scheduler supplying timer events |
| basicAllocator | allocator used to supply memory (optional) |