Provides information on the number of threads currently in use and their activity.
More...
#include <Ice/Ice.h>
|
| 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.
|
| 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.
|
| | ThreadMetrics (const ThreadMetrics &)=default |
| | ThreadMetrics (ThreadMetrics &&)=default |
| virtual | ~ThreadMetrics () |
|
| static const ::std::string & | ice_staticId () |
| | Obtains the Slice type ID of this value.
|
|
| int | inUseForIO = 0 |
| | The number of threads which are currently performing socket read or writes.
|
| int | inUseForOther = 0 |
| | The number of threads which are currently performing other activities.
|
| int | inUseForUser = 0 |
| | The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
|
Provides information on the number of threads currently in use and their activity.
◆ ~ThreadMetrics()
| virtual IceMX::ThreadMetrics::~ThreadMetrics |
( |
| ) |
|
|
virtual |
◆ ThreadMetrics() [1/4]
| IceMX::ThreadMetrics::ThreadMetrics |
( |
| ) |
|
|
default |
◆ ThreadMetrics() [2/4]
| IceMX::ThreadMetrics::ThreadMetrics |
( |
const ThreadMetrics & | | ) |
|
|
default |
◆ ThreadMetrics() [3/4]
| IceMX::ThreadMetrics::ThreadMetrics |
( |
ThreadMetrics && | | ) |
|
|
default |
◆ ThreadMetrics() [4/4]
| IceMX::ThreadMetrics::ThreadMetrics |
( |
const ::std::string & | id, |
|
|
long long int | total, |
|
|
int | current, |
|
|
long long int | totalLifetime, |
|
|
int | failures, |
|
|
int | inUseForIO, |
|
|
int | inUseForUser, |
|
|
int | inUseForOther ) |
|
inline |
One-shot constructor to initialize all data members.
- Parameters
-
| 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. |
◆ ice_staticId()
| const ::std::string & IceMX::ThreadMetrics::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 int &, const int &, const int & > IceMX::ThreadMetrics::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]
◆ operator=() [2/2]
◆ inUseForIO
| int IceMX::ThreadMetrics::inUseForIO = 0 |
The number of threads which are currently performing socket read or writes.
◆ inUseForOther
| 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).
◆ inUseForUser
| int IceMX::ThreadMetrics::inUseForUser = 0 |
The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
The documentation for this class was generated from the following file: