Schedule category for periodic publication at interval.

Synopsis

Declared in <balm_publicationscheduler.h>

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

Description

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.

Parameters

Name

Description

category

null‐terminated category name to schedule

interval

periodic publication interval for category

Created with MrDocs