7#ifndef IceStorm_Metrics_h_
8#define IceStorm_Metrics_h_
12#include <Ice/Metrics.h>
13#include <IceStorm/Config.h>
15#ifndef ICE_DISABLE_VERSION
16# if ICE_INT_VERSION != 30850
17# error Ice version mismatch: an exact match is required for beta generated code
22# if defined(ICESTORM_API_EXPORTS)
23# define ICESTORM_API ICE_DECLSPEC_EXPORT
25# define ICESTORM_API ICE_DECLSPEC_IMPORT
73 [[nodiscard]] const
char*
ice_id() const noexcept override;
77 [[nodiscard]] std::tuple<const std::
string&, const std::int64_t&, const std::int32_t&, const std::int64_t&, const std::int32_t&, const std::int64_t&, const std::int64_t&>
ice_tuple()
const
137 [[nodiscard]] const
char*
ice_id() const noexcept override;
141 [[nodiscard]] std::tuple<const std::
string&, const std::int64_t&, const std::int32_t&, const std::int64_t&, const std::int32_t&, const std::int32_t&, const std::int32_t&, const std::int64_t&>
ice_tuple()
const
Metrics() noexcept=default
Default constructor.
std::int32_t current
The number of objects currently observed by this metrics.
std::int64_t totalLifetime
The sum of the lifetime of each observed objects.
std::int32_t failures
The number of failures observed.
std::int64_t total
The total number of objects observed by this metrics.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
std::int32_t outstanding
The number of outstanding events.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice class.
std::int64_t delivered
The number of forwarded events.
SubscriberMetrics() noexcept=default
Default constructor.
SubscriberMetricsPtr ice_clone() const
Creates a shallow polymorphic copy of this instance.
SubscriberMetrics(const SubscriberMetrics &)=default
Copy constructor.
std::int32_t queued
The number of queued events.
std::tuple< const std::string &, const std::int64_t &, const std::int32_t &, const std::int64_t &, const std::int32_t &, const std::int32_t &, const std::int32_t &, const std::int64_t & > ice_tuple() const
Creates a tuple with all the fields of this class.
const char * ice_id() const noexcept override
Gets the Slice type ID of the most-derived class supported by this object.
Provides information about IceStorm subscribers.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice class.
TopicMetricsPtr ice_clone() const
Creates a shallow polymorphic copy of this instance.
TopicMetrics() noexcept=default
Default constructor.
std::tuple< const std::string &, const std::int64_t &, const std::int32_t &, const std::int64_t &, const std::int32_t &, const std::int64_t &, const std::int64_t & > ice_tuple() const
Creates a tuple with all the fields of this class.
std::int64_t forwarded
The number of events forwarded on the topic(s) by IceStorm topic links.
TopicMetrics(const TopicMetrics &)=default
Copy constructor.
const char * ice_id() const noexcept override
Gets the Slice type ID of the most-derived class supported by this object.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
std::int64_t published
The number of events published on the topic(s) by publishers.
Provides information about one or more IceStorm topics.
Represents a byte buffer used for marshaling data using the Slice encoding.
std::shared_ptr< TopicMetrics > TopicMetricsPtr
A shared pointer to a TopicMetrics.
std::shared_ptr< SubscriberMetrics > SubscriberMetricsPtr
A shared pointer to a SubscriberMetrics.
The Ice Management eXtension facility.
std::shared_ptr< Value > ValuePtr
A shared pointer to a Value.