elevator v1.0.0 BackupHandler View Source
A module for keeping and periodically synchronizing a log of all orders not yet finished in the distributed system.
Link to this section Summary
Functions
Requests the BackupHandler to do a backup of an order.
Returns a specification to start this module under a supervisor.
Signals to the BackupHandler that a floor has been cleared, which triggers a deletion of all orders in the BackupHandlers handled by the signalling node.
Initializes the Backup Handler by starting a periodic call to multiTriggerLogPush/0.
Triggers all BackupHandlers to push their list of orders to the other n-1 BackupHandlers, effectively synchronizing the BackupHandlers.
Requests a queue of all orders from the BackupHandlers, filtering out metadata and returning a list of orders chronologically sorted.
Starts the Backup Handler in a supervision tree, see Supervisor.
Link to this section Functions
Requests the BackupHandler to do a backup of an order.
Returns a specification to start this module under a supervisor.
See Supervisor.
Signals to the BackupHandler that a floor has been cleared, which triggers a deletion of all orders in the BackupHandlers handled by the signalling node.
Initializes the Backup Handler by starting a periodic call to multiTriggerLogPush/0.
Triggers all BackupHandlers to push their list of orders to the other n-1 BackupHandlers, effectively synchronizing the BackupHandlers.
Requests a queue of all orders from the BackupHandlers, filtering out metadata and returning a list of orders chronologically sorted.
Starts the Backup Handler in a supervision tree, see Supervisor.