QueueHeartbeat class

Aggregated in-flight counts for a specific queue.

Constructors

QueueHeartbeat({required String name, required int inflight})
Describes the current in-flight delivery count for name.
QueueHeartbeat.fromJson(Map<String, Object?> json)
Recreates a QueueHeartbeat from a JSON json map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
inflight int
In-flight delivery count for this queue at the sampled instant.
final
name String
Queue identifier used in downstream monitoring.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this queue heartbeat into a JSON-ready map.
toString() String
A string representation of this object.
inherited

Operators

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