Provides information on the number of threads currently in use and their activity.
More...
|
| ThreadMetrics () noexcept=default |
| Default constructor.
|
| ThreadMetrics (std::string id, std::int64_t total, std::int32_t current, std::int64_t totalLifetime, std::int32_t failures, std::int32_t inUseForIO, std::int32_t inUseForUser, std::int32_t inUseForOther) noexcept |
| One-shot constructor to initialize all data members.
|
ThreadMetricsPtr | 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 & > | ice_tuple () const |
| Creates a tuple with all the fields of this class.
|
| 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.
|
| 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.
|
Value & | operator= (const Value &)=delete |
Value & | operator= (Value &&)=delete |
|
std::int32_t | inUseForIO {0} |
| The number of threads which are currently performing socket reads or writes.
|
std::int32_t | inUseForOther {0} |
| The number of threads which are currently performing other activities such as DNS lookups, garbage collection, etc.
|
std::int32_t | inUseForUser {0} |
| The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
|
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.
|
Provides information on the number of threads currently in use and their activity.
Definition at line 455 of file Metrics.h.