CountedWideQueue<LogicType extends Logic> class abstract interface

Contract for an ordered queue that accepts and removes dense lane prefixes.

One accepted upstream transaction atomically enqueues every leading lane identified by validCount; it never accepts only part of an input bundle. downstream exposes a stable ordered head window. On an accepted output, dequeueCount requests how many leading lanes to remove and acceptedDequeueCount reports the actual removal.

The counted fields describe payload lanes within one ready/valid transaction. They are distinct from credit accounting, which represents capacity tokens across transactions.

Invalid zero or oversized counts are accepted as diagnostic transactions. An invalid enqueue stores nothing. An invalid dequeue count is clamped to one through the number of currently offered lanes, matching ReadyValidCountedLaneWindow.

Implemented types
Implementers

Properties

acceptedDequeueCount → Logic
Number of lanes removed from the output in the current cycle.
no setter
acceptedEnqueueCount → Logic
Number of lanes accepted from the input in the current cycle.
no setter
availableCount → Logic
Number of currently unused storage slots.
no setter
capacity → int
Total number of items this component can retain.
no setterinherited
dequeueCount → Logic
Number of leading output lanes requested for removal.
no setter
downstream → ReadyValidInterface<CompactedLanes<LogicType>>
Stable dense head window.
no setter
empty → Logic
High when no item is retained.
no setterinherited
full → Logic
High when every retained-storage slot is occupied.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
invalidDequeueCount → Logic
High when an accepted dequeue requests zero or too many lanes.
no setter
invalidEnqueueCount → Logic
High when an accepted enqueue has a zero or oversized count.
no setter
laneCount → int
Maximum number of lanes accepted or exposed per transaction.
no setter
occupancy → Logic
Number of currently retained items.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
upstream → ReadyValidInterface<CompactedLanes<LogicType>>
Dense, counted atomic enqueue bundle.
no setter

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