Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
IceMX::ChildInvocationMetrics Class Reference

Provides information on child invocations. More...

#include <Ice/Ice.h>

Inheritance diagram for IceMX::ChildInvocationMetrics:
Inheritance graph
[legend]
Collaboration diagram for IceMX::ChildInvocationMetrics:
Collaboration graph
[legend]

Public Member Functions

 ChildInvocationMetrics ()=default
 
 ChildInvocationMetrics (ChildInvocationMetrics &&)=default
 
 ChildInvocationMetrics (const ::std::string &id, long long int total, int current, long long int totalLifetime, int failures, long long int size, long long int replySize)
 One-shot constructor to initialize all data members. More...
 
 ChildInvocationMetrics (const ChildInvocationMetrics &)=default
 
std::tuple< const ::std::string &, const long long int &, const int &, const long long int &, const int &, const long long int &, const long long int & > ice_tuple () const
 Obtains a tuple containing all of the value's data members. More...
 
ChildInvocationMetricsoperator= (ChildInvocationMetrics &&)=default
 
ChildInvocationMetricsoperator= (const ChildInvocationMetrics &)=default
 
virtual ~ChildInvocationMetrics ()
 

Static Public Member Functions

static const ::std::string & ice_staticId ()
 Obtains the Slice type ID of this value. More...
 

Public Attributes

long long int replySize = 0LL
 The size of the invocation reply. More...
 
long long int size = 0LL
 The size of the invocation. More...
 

Detailed Description

Provides information on child invocations.

A child invocation is either remote (sent over an Ice connection) or collocated. An invocation can have multiple child invocation if it is retried. Child invocation metrics are embedded within InvocationMetrics.

Constructor & Destructor Documentation

◆ ~ChildInvocationMetrics()

virtual IceMX::ChildInvocationMetrics::~ChildInvocationMetrics ( )
virtual

◆ ChildInvocationMetrics() [1/4]

IceMX::ChildInvocationMetrics::ChildInvocationMetrics ( )
default

◆ ChildInvocationMetrics() [2/4]

IceMX::ChildInvocationMetrics::ChildInvocationMetrics ( const ChildInvocationMetrics )
default

◆ ChildInvocationMetrics() [3/4]

IceMX::ChildInvocationMetrics::ChildInvocationMetrics ( ChildInvocationMetrics &&  )
default

◆ ChildInvocationMetrics() [4/4]

IceMX::ChildInvocationMetrics::ChildInvocationMetrics ( const ::std::string &  id,
long long int  total,
int  current,
long long int  totalLifetime,
int  failures,
long long int  size,
long long int  replySize 
)
inline

One-shot constructor to initialize all data members.

Parameters
idThe metrics identifier.
totalThe total number of objects observed by this metrics.
currentThe number of objects currently observed by this metrics.
totalLifetimeThe sum of the lifetime of each observed objects.
failuresThe number of failures observed.
sizeThe size of the invocation.
replySizeThe size of the invocation reply.

Member Function Documentation

◆ ice_staticId()

static const ::std::string& IceMX::ChildInvocationMetrics::ice_staticId ( )
static

Obtains the Slice type ID of this value.

Returns
The fully-scoped type ID.

◆ ice_tuple()

std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> IceMX::ChildInvocationMetrics::ice_tuple ( ) const
inline

Obtains a tuple containing all of the value's data members.

Returns
The data members in a tuple.

◆ operator=() [1/2]

ChildInvocationMetrics& IceMX::ChildInvocationMetrics::operator= ( ChildInvocationMetrics &&  )
default

◆ operator=() [2/2]

ChildInvocationMetrics& IceMX::ChildInvocationMetrics::operator= ( const ChildInvocationMetrics )
default

Member Data Documentation

◆ replySize

long long int IceMX::ChildInvocationMetrics::replySize = 0LL

The size of the invocation reply.

This corresponds to the size of the marshalled output and return parameters.

◆ size

long long int IceMX::ChildInvocationMetrics::size = 0LL

The size of the invocation.

This corresponds to the size of the marshalled input parameters.


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