ThreadMetrics class

Provides information on the number of threads currently in use and their activity.

Inheritance

Constructors

ThreadMetrics(String id, {int inUseForIO = 0, int inUseForUser = 0, int inUseForOther = 0})

Properties

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
inUseForIO int
The number of threads which are currently performing socket read or writes.
getter/setter pair
inUseForOther int
The number of threads which are currently performing other activities. These are all other that are not counted with {@link #inUseForUser} or {@link #inUseForIO}, such as DNS lookups, garbage collection).
getter/setter pair
inUseForUser int
The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
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

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