BloombergLP::balm::DefaultMetricsManager

This struct provides a namespace for static functions that create, access, and destroy the default instance of the MetricsManager.

Synopsis

Declared in <balm_defaultmetricsmanager.h>

struct DefaultMetricsManager;

Description

The expected usage is that the default instance will be created during the initialization of an application (while the task has a single thread) and that it will be destroyed just prior to termination (when there is similarly a single thread).

Static Member Functions

NameDescription
create create overloads
destroy Destroy the default instance of MetricsManager.
instance Return the default instance of the MetricsManager or 0 if the default instance has not yet been created or has already been destroyed.
manager Return the specified manager if non-null, and the default metrics manager instance otherwise.