Ice 3.7 C++11 API Reference
|
Provides information on the number of threads currently in use and their activity. 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 int & > | ice_tuple () const |
Obtains a tuple containing all of the value's data members. More... | |
ThreadMetrics & | operator= (const ThreadMetrics &)=default |
ThreadMetrics & | operator= (ThreadMetrics &&)=default |
ThreadMetrics ()=default | |
ThreadMetrics (const ::std::string &id, long long int total, int current, long long int totalLifetime, int failures, int inUseForIO, int inUseForUser, int inUseForOther) | |
One-shot constructor to initialize all data members. More... | |
ThreadMetrics (const ThreadMetrics &)=default | |
ThreadMetrics (ThreadMetrics &&)=default | |
virtual | ~ThreadMetrics () |
Static Public Member Functions | |
static const ::std::string & | ice_staticId () |
Obtains the Slice type ID of this value. More... | |
Public Attributes | |
int | inUseForIO = 0 |
The number of threads which are currently performing socket read or writes. More... | |
int | inUseForOther = 0 |
The number of threads which are currently performing other activities. More... | |
int | inUseForUser = 0 |
The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc). More... | |
Provides information on the number of threads currently in use and their activity.
|
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. |
inUseForIO | The number of threads which are currently performing socket read or writes. |
inUseForUser | The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc). |
inUseForOther | The number of threads which are currently performing other activities. |
|
static |
Obtains the Slice type ID of this value.
|
inline |
Obtains a tuple containing all of the value's data members.
|
default |
|
default |
int IceMX::ThreadMetrics::inUseForIO = 0 |
The number of threads which are currently performing socket read or writes.
int IceMX::ThreadMetrics::inUseForOther = 0 |
The number of threads which are currently performing other activities.
These are all other that are not counted with inUseForUser or inUseForIO, such as DNS lookups, garbage collection).
int IceMX::ThreadMetrics::inUseForUser = 0 |
The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).