@sailboat-computer/health-monitoring
Version:
Comprehensive health monitoring system for sailboat computer v3 with marine-specific health checks
61 lines • 1.34 kB
TypeScript
/**
* Self-Healing Example
* Demonstrates the integration of health monitoring and recovery mechanisms
*/
/**
* Self-healing example for marine systems
*/
export declare class SelfHealingExample {
private healthEngine;
private recoveryOrchestrator;
private gpsHealthCheck;
private gpsRecalibrationAction;
private gpsState;
constructor();
/**
* Initialize health checks
*/
private initializeHealthChecks;
/**
* Initialize recovery actions and policies
*/
private initializeRecoveryActions;
/**
* Set up event handling
*/
private setupEventHandling;
/**
* Start the self-healing system
*/
start(): void;
/**
* Stop the self-healing system
*/
stop(): void;
/**
* Simulate GPS degradation
*/
simulateGPSDegradation(): void;
/**
* Simulate GPS failure
*/
simulateGPSFailure(): void;
/**
* Simulate GPS recovery
*/
simulateGPSRecovery(): void;
/**
* Mock GPS data provider
*/
private mockGPSDataProvider;
/**
* Utility function to wait
*/
private wait;
}
/**
* Run the self-healing example
*/
export declare function runSelfHealingExample(): Promise<void>;
export default SelfHealingExample;
//# sourceMappingURL=SelfHealingExample.d.ts.map