Metrics class

The base class for metrics. A metrics object represents a collection of measurements associated to a given a system.

Implementers

Constructors

Metrics(String id, {int total = 0, int current = 0, int totalLifetime = 0, int failures = 0})

Properties

current int
The current number of objects observed by this metrics.
getter/setter pair
failures int
The number of failures observed.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The metrics identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
The total number of objects that were observed by this metrics.
getter/setter pair
totalLifetime int
The sum of the lifetime of each observed objects. This does not include the lifetime of objects which are currently observed.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited