WorkerStat class

Base statistics for worker.

Constructors

WorkerStat(Type workerType, String id, bool isStopped, String status, int workload, int maxWorkload, int totalWorkload, int totalErrors, Duration upTime, Duration idleTime)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The worker ID.
final
idleTime Duration
The worker's idle-time.
getter/setter pair
isStopped bool
Worker running flag.
final
maxWorkload int
Maximum concurrent workload processed by the worker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Worker status.
final
totalErrors int
Total errors raised during processing.
final
totalWorkload int
Total workload processed by the worker.
final
upTime Duration
The worker's up-time.
getter/setter pair
workerType Type
The worker's runtime type.
final
workload int
Current workload being processed by the worker.
final

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