TibrvFtMonitorCallback::onFtMonitor()

Declaration

virtual void onFtMonitor(
    TibrvFtMonitor* ftMonitor,
    const char* groupName,
    tibrv_u32 numActiveMembers ) = 0;

Purpose

Process fault tolerance events for a monitor.

Remarks

A program must define a method of this type as a prerequisite to monitor a fault tolerance group. Programs register a monitor callback method 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.

Parameter

Description

ftMonitor

This parameter receives the monitor object.

groupName

This parameter receives a string denoting the name of the fault tolerance group.

numActiveMembers

This parameter receives the number of group members now active.

See Also

TibrvFtMonitor::create().