Go to the documentation of this file.
27 #ifndef O2CLUSTER_HEARTBEAT_H
28 #define O2CLUSTER_HEARTBEAT_H
32 #define O2HB_REGION_TIMEOUT_MS 2000
34 #define O2HB_MAX_REGION_NAME_LEN 32
37 #define O2HB_LIVE_THRESHOLD 2
40 #define O2HB_DEFAULT_DEAD_THRESHOLD 31
42 #define O2HB_MIN_DEAD_THRESHOLD 2
43 #define O2HB_MAX_WRITE_TIMEOUT_MS (O2HB_REGION_TIMEOUT_MS * (o2hb_dead_threshold - 1))
45 #define O2HB_CB_MAGIC 0x51d1e4ec