InMemoryTelemetrySink class final
The pure-host default sink: a bounded in-memory ring, oldest dropped first. A host reads events for live UI or debug dumps.
- Implemented types
Constructors
- InMemoryTelemetrySink({int capacity = 256})
Properties
- capacity → int
-
Maximum records retained.
final
-
events
→ List<
AgentTelemetryEvent> -
Retained records, oldest first (newest last).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
record(
AgentTelemetryEvent event) → void -
Records one lifecycle event.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited