MySQL  8.0.19
Source Code Documentation
xcom_detector.h File Reference

Go to the source code of this file.

Macros

#define DETECTOR_LIVE_TIMEOUT   5.0
 

Typedefs

typedef double detector_state[NSERVERS]
 

Functions

void note_detected (struct site_def const *site, node_no node)
 
int may_be_dead (detector_state const ds, node_no i, double seconds)
 
void init_detector (detector_state ds)
 
void invalidate_detector_sites (struct site_def *site)
 
void update_detected (struct site_def *site)
 

Macro Definition Documentation

◆ DETECTOR_LIVE_TIMEOUT

#define DETECTOR_LIVE_TIMEOUT   5.0

Typedef Documentation

◆ detector_state

typedef double detector_state[NSERVERS]

Function Documentation

◆ init_detector()

void init_detector ( detector_state  ds)

◆ invalidate_detector_sites()

void invalidate_detector_sites ( struct site_def site)

◆ may_be_dead()

int may_be_dead ( detector_state const  ds,
node_no  i,
double  seconds 
)

◆ note_detected()

void note_detected ( struct site_def const *  site,
node_no  node 
)

◆ update_detected()

void update_detected ( struct site_def site)