public static function processHostDown(\DBServer $dbServer) { /* * 1. Check that we don't have unprocessed HostDown event * 2. Check was this reboot / suspend or terminate based on different rules * 3. Fire appropriate event */ }