DiagnosticRuntimeServiceImpl class
Default diagnostic runtime implementation with in-memory tracking.
- Implemented types
Constructors
- DiagnosticRuntimeServiceImpl({int maxBufferedEvents = 1000})
Properties
-
eventStream
→ Stream<
DiagnosticEvent> -
Stream of diagnostic events for real-time monitoring.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBufferedEvents → int
-
Maximum events to buffer per component.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
emit(
DiagnosticEvent event) → void -
Emit a diagnostic event.
override
-
getActivitySummary(
) → List< DiagnosticActivity> -
Get activity summary for all tracked components.
override
-
getLastActivityAt(
String componentId) → DateTime? -
Get last activity timestamp for a component.
override
-
logLaneDequeue(
String lane, {Map< String, dynamic> ? metadata}) → void -
Log a queue lane dequeue operation.
override
-
logLaneEnqueue(
String lane, {Map< String, dynamic> ? metadata}) → void -
Log a queue lane enqueue operation.
override
-
markActivity(
String componentId) → void -
Mark activity for a component (resets idle timer).
override
-
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