WorldLatencyBands class final

The latency model for one touchpoint: banded distributions (fast/slow/timeout) with deterministic band selection. Latency is VIRTUAL time — the world advances its clock, never wall time.

Constructors

WorldLatencyBands({required int fastMinMs, required int fastMaxMs, required int slowMinMs, required int slowMaxMs, required int timeoutMinMs, required int timeoutMaxMs, required int slowEvery, required int timeoutEvery})
const
WorldLatencyBands.fromJson(Map<String, dynamic> json)
factory

Properties

fastMaxMs int
final
fastMinMs int
The fast band bounds (milliseconds, inclusive).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slowEvery int
Every Nth call (1-based modulo) samples the slow band; 0 disables.
final
slowMaxMs int
final
slowMinMs int
The slow band bounds.
final
timeoutEvery int
Every Nth call samples the timeout band; 0 disables.
final
timeoutMaxMs int
final
timeoutMinMs int
The timeout band bounds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

certified → const WorldLatencyBands
The certified default: fast 5–15 ms, slow 120–400 ms every 4th call, timeout 800–1500 ms every 25th call.