Ice 3.7 C++11 API Reference
|
Provide measurements for proxy invocations. More...
#include <Ice/Ice.h>
Public Member Functions | |
std::tuple< const ::std::string &, const long long int &, const int &, const long long int &, const int &, const int &, const int &, const ::IceMX::MetricsMap &, const ::IceMX::MetricsMap & > | ice_tuple () const |
Obtains a tuple containing all of the value's data members. More... | |
InvocationMetrics ()=default | |
InvocationMetrics (const ::std::string &id, long long int total, int current, long long int totalLifetime, int failures, int retry, int userException, const ::IceMX::MetricsMap &remotes, const ::IceMX::MetricsMap &collocated) | |
One-shot constructor to initialize all data members. More... | |
InvocationMetrics (const InvocationMetrics &)=default | |
InvocationMetrics (InvocationMetrics &&)=default | |
InvocationMetrics & | operator= (const InvocationMetrics &)=default |
InvocationMetrics & | operator= (InvocationMetrics &&)=default |
virtual | ~InvocationMetrics () |
Static Public Member Functions | |
static const ::std::string & | ice_staticId () |
Obtains the Slice type ID of this value. More... | |
Public Attributes | |
::IceMX::MetricsMap | collocated |
The collocated invocation metrics map. More... | |
::IceMX::MetricsMap | remotes |
The remote invocation metrics map. More... | |
int | retry = 0 |
The number of retries for the invocation(s). More... | |
int | userException = 0 |
The number of invocations that failed with a user exception. More... | |
Provide measurements for proxy invocations.
Proxy invocations can either be sent over the wire or be collocated.
|
virtual |
|
default |
|
default |
|
default |
|
inline |
One-shot constructor to initialize all data members.
id | The metrics identifier. |
total | The total number of objects observed by this metrics. |
current | The number of objects currently observed by this metrics. |
totalLifetime | The sum of the lifetime of each observed objects. |
failures | The number of failures observed. |
retry | The number of retries for the invocation(s). |
userException | The number of invocations that failed with a user exception. |
remotes | The remote invocation metrics map. |
collocated | The collocated invocation metrics map. |
|
static |
Obtains the Slice type ID of this value.
|
inline |
Obtains a tuple containing all of the value's data members.
|
default |
|
default |
::IceMX::MetricsMap IceMX::InvocationMetrics::collocated |
The collocated invocation metrics map.
::IceMX::MetricsMap IceMX::InvocationMetrics::remotes |
The remote invocation metrics map.
int IceMX::InvocationMetrics::retry = 0 |
The number of retries for the invocation(s).
int IceMX::InvocationMetrics::userException = 0 |
The number of invocations that failed with a user exception.