QueueDepth class

The depth of one queue and its effective limit.

Constructors

QueueDepth({required int count, required int bytes, int? limit, double? saturation, int? oldestAgeSeconds, int? deliveredUnacked})
const
QueueDepth.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

bytes → int
Total stored size of those messages, in bytes.
final
count → int
Messages currently in the queue.
final
deliveredUnacked → int?
Messages in the queue whose state is delivered — handed out but not yet deleted by the recipient. Absent when the mediator did not measure it.
final
hashCode → int
The hash code for this object.
no setterinherited
limit → int?
The effective message-count limit for this queue after account overrides and mediator defaults are applied; -1 = unlimited.
final
oldestAgeSeconds → int?
Age of the oldest message in the queue, in seconds. Absent when the queue is empty or the mediator did not measure it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saturation → double?
count ÷ limit. Absent when the limit is unlimited. May exceed 1 when a limit was lowered below the current depth.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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