Motr  M0
m0_ha_epoch_monitor Struct Reference

#include <epoch.h>

Collaboration diagram for m0_ha_epoch_monitor:
Collaboration graph

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_domainhem_domain
 
uint64_t hem_magix
 

Detailed Description

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.

Definition at line 86 of file epoch.h.

Field Documentation

◆ hem_domain

struct m0_ha_domain* hem_domain

Domain this monitor is registered with.

Definition at line 102 of file epoch.h.

◆ hem_future

int(* hem_future) (struct m0_ha_epoch_monitor *self, uint64_t epoch, const struct m0_rpc_item *item)

This function is called when an item from a future epoch is received.

Definition at line 97 of file epoch.h.

◆ hem_linkage

struct m0_tlink hem_linkage

Linkage into m0_ha_domain::hdo_monitors list.

Definition at line 100 of file epoch.h.

◆ hem_magix

uint64_t hem_magix

Definition at line 103 of file epoch.h.

◆ hem_past

int(* hem_past) (struct m0_ha_epoch_monitor *self, uint64_t epoch, const struct m0_rpc_item *item)

This function is called when an item from a past epoch is received.

Definition at line 91 of file epoch.h.


The documentation for this struct was generated from the following file: