One-shot constructor to initialize all data members.
Optionalid: stringThe metrics identifier.
Optionaltotal: bigintThe total number of objects observed by this metrics.
Optionalcurrent: numberThe number of objects currently observed by this metrics.
OptionaltotalLifetime: bigintThe sum of the lifetimes of each observed object.
Optionalfailures: numberThe number of failures observed.
The number of objects currently observed by this metrics.
The number of failures observed.
The metrics identifier.
The total number of objects observed by this metrics. This includes the number of currently observed objects and the number of objects observed in the past.
The sum of the lifetimes of each observed object. This does not include the lifetimes of objects which are currently observed, only the objects observed in the past.
Obtains the sliced data associated with this instance.
The sliced data if this value was sliced during unmarshaling, null otherwise. Unknown slices are preserved only when the sender uses the sliced format.
Obtains the Slice type ID of the most-derived class supported by this object.
The type ID.
The Ice runtime invokes this method after unmarshaling an object's data members. This allows a subclass to override this method in order to perform additional initialization.
The Ice runtime invokes this method prior to marshaling an object's data members. This allows a subclass to override this method in order to validate its data members.
Staticice_Obtains the Slice type ID of this type.
The return value is always "::Ice::Object".
The base class for metrics. A metrics object represents a collection of measurements associated with a given system.
Remarks
The Slice compiler generated this class from Slice class
::IceMX::Metrics.