Raxol.System.Updater.State.UpdaterServer (Raxol v2.0.1)

View Source

GenServer implementation for the System Updater state management.

This server manages update settings, progress tracking, statistics, and logging while eliminating Process dictionary usage.

Features

  • Update settings management
  • Progress tracking for active updates
  • Update history and statistics
  • Error tracking and logging
  • Supervised state management

Summary

Functions

cancel_update()

child_spec(init_arg)

Returns a child specification for this server.

clear_update_error()

clear_update_history()

clear_update_log()

clear_update_stats()

get_update_error()

get_update_history()

get_update_log()

get_update_progress()

get_update_settings()

get_update_stats()

handle_manager_info(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.

log_update(message)

set_auto_check(enabled)

set_update_error(error)

set_update_pid(pid)

set_update_progress(progress)

set_update_settings(settings)

start_link(init_opts \\ [])

update_stats(stats)