RulesExecutionMonitor class

Monitor de ejecución de reglas en tiempo real Captura y almacena las ejecuciones de reglas agrupadas por evento para visualización en debug tools

Implemented types

Properties

eventExecutionStream Stream<RulesEventExecution>
no setter
eventHistory List<RulesEventExecution>
no setter
failedExecutions int
no setter
hashCode int
The hash code for this object.
no setterinherited
isCapturing bool
no setter
metricsStream Stream<RulesMonitorMetrics>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successfulExecutions int
no setter
totalEvents int
no setter
totalRuleExecutions int
no setter

Methods

clearHistory() → void
Limpiar historial y métricas
dispose() → void
Cerrar streams cuando no se necesiten más
exportData() Map<String, dynamic>
Exportar datos para análisis
getFilteredEvents({String? eventType, String? ruleKey, RulesExecutionStatus? status, DateTime? startTime, DateTime? endTime}) List<RulesEventExecution>
Filtrar eventos por criterios
getPerformanceStats() Map<String, dynamic>
Obtener estadísticas de rendimiento
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRuleExecutionCompleted(RulesExecutionResult result) → void
Called when a rule execution completes (success or failure)
override
onRuleExecutionStarted(String ruleKey, Map<String, dynamic> context) → void
Called when a rule is about to be executed
override
onRulesExecutionError(String error, Map<String, dynamic> context) → void
Called when rules processing fails
override
setCapturing(bool capturing) → void
Iniciar/pausar captura de eventos
setMaxHistorySize(int size) → void
Configurar tamaño máximo del historial
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance RulesExecutionMonitor
no setter