InvocationMetrics class

Provide measurements for proxy invocations. Proxy invocations can either be sent over the wire or be collocated.

Inheritance

Constructors

InvocationMetrics(String id, {int retry = 0, int userException = 0, MetricsMap remotes = const <Metrics>[], MetricsMap collocated = const <Metrics>[]})

Properties

collocated MetricsMap
The collocated invocation metrics map.
final
current int
The current number of objects observed by this metrics.
getter/setter pairinherited
failures int
The number of failures observed.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The metrics identifier.
finalinherited
remotes MetricsMap
The remote invocation metrics map.
final
retry int
The number of retries for the invocation(s).
getter/setter pair
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 pairinherited
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 pairinherited
userException int
The number of invocations that failed with a user exception.
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