ReadyValidIndexAllocator class abstract interface

Common contract implemented by ready/valid free-index allocators.

Implementations may use a flop bitmap, linked list, or prefetched memory ring. Allocation order and initialization latency remain implementation contracts rather than properties of this interface. Whether a release can be selected for allocation in the same cycle is also implementation policy.

Implementers

Properties

allocation → IrrevocableReadyValidInterface<Logic>
Irrevocable stream offering currently free indices.
no setter
availableCount → Logic
Number of indices currently available for allocation.
no setter
capacity → int
Number of independently managed indices.
no setter
exhausted → Logic
High when initialization is complete and no index is available.
no setter
hashCode → int
The hash code for this object.
no setterinherited
indexWidth → int
Width required to represent every managed index.
no setter
release → ReadyValidInterface<TagRelease>
Stream returning previously allocated indices.
no setter
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
toString() → String
A string representation of this object.
inherited

Operators

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