CreditPoolStatus class abstract interface

Common status exposed by bounded available-slot credit ledgers.

Implementations may accept fixed unit events or counted events, but every implementation reports the same bounded balance and violation status.

Implementers

Properties

available → Logic
High when at least one credit is available.
no setter
count → Logic
Current available-credit balance.
no setter
critical → Logic
High when count is at or below criticalThreshold.
no setter
criticalThreshold → int?
Optional inclusive low-water threshold.
no setter
hashCode → int
The hash code for this object.
no setterinherited
initialCredits → int
Balance installed by reset.
no setter
loadOutOfRange → Logic
High when a requested runtime load exceeds maximumCredits.
no setter
maximumCredits → int
Maximum representable and legal available-credit balance.
no setter
overflow → Logic
High when the requested return cannot be accepted.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sameCyclePolicy → CreditSameCyclePolicy
Ordering used when debit and return events occur together.
no setter
underflow → Logic
High when the requested debit cannot be accepted.
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