Module reclaim

Source
Expand description

Reclamation algorithm

Implementation the of long-running task function, (which is the only export from here, the wider mtracker module).

Modules§

deferred_drop 🔒
Deferred drop handling.

Structs§

Reclaiming 🔒
State while reclamation is active
TaskFinished 🔒
Return value from the task, when it finishes due to the tracker being shut down
VictimPanicked 🔒
Marker indicating that the victim’s reclaim function panicked

Enums§

Age 🔒
The nominal data age of a participant
Outcome 🔒
Outcome of a completed reclamation run
PStatus 🔒
Participant status, as a candidate victim

Functions§

analyse_particip 🔒
Figure out whether a participant is a candidate victim, and obtain its data age
inner_loop 🔒
Reclaim memory until we reach low water, if necessary
task 🔒
Internal long-running task, handling reclamation
task_loop 🔒
Internal long-running task, handling reclamation - main loop

Type Aliases§

NumParticips 🔒
Total number of participants
Victim 🔒
A victim we have selected for reclamation
VictimResponses 🔒
Set of responses from the victims, after they have all finished reclaiming.