tibrvftMonitorCallback
Function Type
Declaration
typedef void (*tibrvftMonitorCallback
) (
tibrvftMonitor monitor,
const char* groupName,
tibrv_u32 numActiveMembers,
void* closure);
Purpose
Process fault tolerance events for a monitor.
Remarks
A program must define a function of this type as a prerequisite for monitoring a fault tolerance group. Programs register a monitor callback function with each call to tibrvftMonitor_Create().
Rendezvous fault tolerance software queues a monitor event whenever the number of active members in the group changes.
A program need not be a member of a group in order to monitor that group. Programs that do not monitor need not define a monitor callback function.
Parameter |
Description |
|
This parameter receives the monitor object. |
|
This parameter receives a string denoting the name of the fault tolerance group. |
|
This parameter receives the number of group members now active. |
|
This parameter receives the closure data, which the program supplied in the call that created the monitor object. |