CFClientRecovery class
Recovery component that handles system health checks and recovery operations
Constructors
- CFClientRecovery.new({required SessionManager? getSessionManager(), required EventTracker getEventTracker(), required ConfigManager getConfigManager(), required String getCurrentSessionId()})
Properties
- 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
-
performAutoRecovery(
) → Future< CFResult< List< >String> > - Perform automatic recovery based on current system state
-
performSystemHealthCheck(
) → Future< CFResult< SystemHealthStatus> > - Perform comprehensive system health check and recovery
-
recoverConfiguration(
) → Future< CFResult< Map< >String, dynamic> > - Recover from configuration corruption or update failures
-
recoverEvents(
{int maxEventsToRetry = 50}) → Future< CFResult< EventRecoveryResult> > - Recover failed events and retry offline events
-
recoverSession(
{String? reason, Future< String?> authTokenRefreshCallback()?}) → Future<CFResult< String> > - Recover from session-related errors
-
safeConfigUpdate(
Map< String, dynamic> newConfig, {Duration validationTimeout = const Duration(seconds: 30)}) → Future<CFResult< bool> > - Perform safe configuration update with automatic rollback on failure
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited