BloombergLP::balm::Publisher

This protocol class provides a publish method to publish collected sample of recorded metric values. The precise meaning of publish is left to derived classes to specify.

Synopsis

Declared in <balm_publisher.h>

class Publisher;

Member Functions

NameDescription
~Publisher [destructor] [virtual]Destroy this object.
publish [virtual]Publish the specified metricValue. The exact definition of publish depends on the implementing class, though the intention is that the recorded metric values will be distributed in a human or machine readable form.

Derived Classes

NameDescription
StreamPublisher This class provides an implementation of the Publisher protocol. This stream publisher publishes recorded metric values to an output stream specified at construction.