class

HT2::BackpressureManager::WritePressure

Inherits Reference < Object

Tracks write pressure metrics

Constructors

Instance methods

add_pending(bytes : Int64, frames : Int32 = 1) : Nil
Source
clear_pending(bytes : Int64, frames : Int32 = 1) : Nil
Source
high_pressure?(max_bytes : Int64 = DEFAULT_MAX_WRITE_BUFFER, threshold : Float64 = 0.8) : Bool
Source
last_stall
Source
pending_bytes
Source
pending_frames
Source
pressure_ratio(max_bytes : Int64) : Float64
Source
record_stall
Source
stall_count
Source