Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceMX::SessionMetrics Class Reference

Provides information about Glacier2 sessions. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for IceMX::SessionMetrics:

Public Member Functions

 SessionMetrics () noexcept=default
 Default constructor.
 SessionMetrics (std::string id, std::int64_t total, std::int32_t current, std::int64_t totalLifetime, std::int32_t failures, std::int32_t forwardedClient, std::int32_t forwardedServer, std::int32_t routingTableSize, std::int32_t queuedClient, std::int32_t queuedServer, std::int32_t overriddenClient, std::int32_t overriddenServer) noexcept
 One-shot constructor to initialize all data members.
SessionMetricsPtr ice_clone () const
 Creates a shallow polymorphic copy of this instance.
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, to the stream.
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::int32_t &, const std::int32_t &, const std::int32_t &, const std::int32_t &, const std::int32_t & > ice_tuple () const
 Creates a tuple with all the fields of this class.
Public Member Functions inherited from IceMX::Metrics
 Metrics () noexcept=default
 Default constructor.
 Metrics (std::string id, std::int64_t total, std::int32_t current, std::int64_t totalLifetime, std::int32_t failures) noexcept
 One-shot constructor to initialize all data members.
MetricsPtr ice_clone () const
 Creates a shallow polymorphic copy of this instance.
std::tuple< const std::string &, const std::int64_t &, const std::int32_t &, const std::int64_t &, const std::int32_t & > ice_tuple () const
 Creates a tuple with all the fields of this class.
Public Member Functions inherited from Ice::Value
 Value () noexcept=default
 Default constructor.
 Value (Value &&)=delete
ValuePtr ice_clone () const
 Creates a shallow polymorphic copy of this instance.
SlicedDataPtr ice_getSlicedData () const
 Gets the sliced data associated with this instance.
virtual void ice_postUnmarshal ()
 Validates or updates the fields of this object after unmarshaling.
virtual void ice_preMarshal ()
 Validates or updates the fields of this object before marshaling.
virtual void ice_print (std::ostream &os) const
 Outputs a description of this instance to the stream.
Valueoperator= (const Value &)=delete
Valueoperator= (Value &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice class.
Static Public Member Functions inherited from IceMX::Metrics
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice class.
Static Public Member Functions inherited from Ice::Value
static const char * ice_staticId () noexcept
 Gets the Slice type ID of this type.

Public Attributes

std::int32_t forwardedClient {0}
 The number of client requests forwarded.
std::int32_t forwardedServer {0}
 The number of server requests forwarded.
std::int32_t overriddenClient {0}
 The number of client requests overridden.
std::int32_t overriddenServer {0}
 The number of server requests overridden.
std::int32_t queuedClient {0}
 The number of client requests queued.
std::int32_t queuedServer {0}
 The number of server requests queued.
std::int32_t routingTableSize {0}
 The size of the routing table.
Public Attributes inherited from IceMX::Metrics
std::int32_t current {0}
 The number of objects currently observed by this metrics.
std::int32_t failures {0}
 The number of failures observed.
std::string id
 The metrics identifier.
std::int64_t total {INT64_C(0)}
 The total number of objects observed by this metrics.
std::int64_t totalLifetime {INT64_C(0)}
 The sum of the lifetime of each observed objects.

Protected Member Functions

 SessionMetrics (const SessionMetrics &)=default
 Copy constructor.
Protected Member Functions inherited from IceMX::Metrics
 Metrics (const Metrics &)=default
 Copy constructor.

Detailed Description

Provides information about Glacier2 sessions.

Definition at line 43 of file Metrics.h.


The documentation for this class was generated from the following file: