Motr
M0
|
#include <epoch.h>
Data Fields | |
int(* | hem_past )(struct m0_ha_epoch_monitor *self, uint64_t epoch, const struct m0_rpc_item *item) |
int(* | hem_future )(struct m0_ha_epoch_monitor *self, uint64_t epoch, const struct m0_rpc_item *item) |
struct m0_tlink | hem_linkage |
struct m0_ha_domain * | hem_domain |
uint64_t | hem_magix |
Epoch change monitor.
Monitors, added to the domain, are called in the order of registration, when an item from an epoch different from the known one is received.
struct m0_ha_domain* hem_domain |
int(* hem_future) (struct m0_ha_epoch_monitor *self, uint64_t epoch, const struct m0_rpc_item *item) |
struct m0_tlink hem_linkage |
Linkage into m0_ha_domain::hdo_monitors list.
int(* hem_past) (struct m0_ha_epoch_monitor *self, uint64_t epoch, const struct m0_rpc_item *item) |