HT2::BackpressureManager::WritePressure
Inherits Reference < Object
Tracks write pressure metrics
Constructors
new
SourceInstance methods
add_pending(bytes : Int64, frames : Int32 = 1) : Nil
Sourceclear_pending(bytes : Int64, frames : Int32 = 1) : Nil
Sourcehigh_pressure?(max_bytes : Int64 = DEFAULT_MAX_WRITE_BUFFER, threshold : Float64 = 0.8) : Bool
Sourcelast_stall
Sourcepending_bytes
Sourcepending_frames
Sourcepressure_ratio(max_bytes : Int64) : Float64
Sourcerecord_stall
Sourcestall_count
Source