BloombergLP::balm::PublicationScheduler::scheduleCategory

scheduleCategory overloads

Synopses

Declared in <balm_publicationscheduler.h>

Schedule the specified category to be published periodically at the specified interval using the MetricManager supplied at construction. If category has already been scheduled, change the scheduled period to interval; any previously scheduled publication of category is either canceled or completed (atomically) prior to rescheduling. If a category is rescheduled with the same interval as it is currently scheduled, this operation has no effect. The behavior is undefined unless bsls::TimeInterval(0, 0) < interval and category is a valid address supplied by the balm::MetricRegistry owned by the MetricsManager object supplied at construction.

void
scheduleCategory(
    Category const* category,
    bsls::TimeInterval const& interval);
» more...

Schedule the specified null-terminated string category to be published periodically at the specified interval using the MetricManager supplied at construction. If category has already been scheduled, change the scheduled period to interval; any previously scheduled publication of category is either canceled or completed (atomically) prior to rescheduling. If a category is rescheduled with the same interval as it is currently scheduled, this operation has no effect. The behavior is undefined unless bsls::TimeInterval(0, 0) < interval.

void
scheduleCategory(
    char const* category,
    bsls::TimeInterval const& interval);
» more...