TibrvFtMonitor
Class
Declaration
classTibrvFtMonitor
TibrvFtmonitor(); // Create empty.
virtual ~TibrvFtmonitor(); // Destroy and reclaim storage.
Purpose
Monitor a fault tolerance group.
Remarks
The constructor creates a hollow object; TibrvFtMonitor::create() makes it operational, and monitors a fault tolerance group.
Monitors are passive—they do not affect the group members in any way.
Rendezvous fault tolerance software queues a monitor event whenever the number of active members in the group changes—either it detects a new heartbeat, or it detects that the heartbeat from a previously active member is now silent, or it receives a message from the fault tolerance component of an active member indicating deactivation or termination.
The monitor callback method receives the number of active members as an argument.
By destroying a monitor object, the program stops monitoring the fault tolerance group. The destructor calls the destroy
method, unless the C object is already destroyed.
Destroying the queue or transport of a monitor automatically destroys the monitor as well.
Method |
Description |
Life Cycle
|
|
Stop monitoring a fault tolerance group, and free associated resources. |
|
Properties
|
|