This class implements a registration handle that provides RAII semantics for metric registration.
Declared in <bdlm_metricsregistry.h>
class MetricsRegistryRegistrationHandle;
| Name | Description |
|---|---|
MetricsRegistryRegistrationHandle [constructor] | Constructors |
~MetricsRegistryRegistrationHandle [destructor] | Unregister the metric collection callback associated with this handle (if isRegistered is true), and destroy this object. |
operator= | Assign to this handle the registration managed by original. |
isRegistered | Return true if this handle has an associated registered metrics collection callback. |
swap | Exchange the associated metric collection callback registration with the one controlled by the specified other handle. |
unregister | Unregister the metric from the associated registry. |
| Name | Description |
|---|---|
BloombergLP::bdlm::MetricsRegistry | This class implements a transferable registry of metrics. |