ContextPressureDecision class final

The pressure verdict at one turn boundary (gh-1742): which channel fired, the reconciled pressure, and whether the pass needs force.

Constructors

ContextPressureDecision({required int pressureTokens, required bool estimateTriggered, required bool observedTriggered})
const

Properties

estimateTriggered → bool
The reconciled pressure crossed window − reserve. Since the pressure is the max of both channels, this is the compound trigger: either channel alone crossing fires it.
final
hashCode → int
The hash code for this object.
no setterinherited
needsForce → bool
AC5: the observed channel fired — the pass must run with force: true so the compactor's own estimate-basis shouldCompact re-check cannot silently skip it.
no setter
observedTriggered → bool
The OBSERVED channel alone crossed window − headroom — the provider's own number says the next request rides into the reserve.
final
pressureTokens → int
max(estimate, observed) — the reconciled pressure the trigger evaluated (what the ctx meter shows).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
triggered → bool
Whether a compaction pass must run at this boundary.
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