BloombergLP::balm::PublicationScheduler::PublicationScheduler

Create a publication scheduler that publishes via metricsManager.

Synopsis

Declared in <balm_publicationscheduler.h>

PublicationScheduler(
    MetricsManager* metricsManager,
    bdlmt::TimerEventScheduler* eventScheduler,
    bslma::Allocator* basicAllocator = 0);

Description

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.

Parameters

NameDescription
metricsManagermetrics manager used to publish metrics
eventSchedulertimer-event scheduler supplying timer events
basicAllocatorallocator used to supply memory (optional)