Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvFtMonitor

Class

## Declaration

    class TibrvFtMonitor
        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
TibrvFtMonitor::create() | Monitor a fault tolerance group.
TibrvFtMonitor::destroy() | Stop monitoring a fault tolerance group, and free associated resources.
TibrvFtMonitor::getHandle() | Extract the C handle of a fault tolerance monitor.
TibrvFtMonitor::isValid() | Test validity of a fault tolerance monitor object.
Properties
TibrvFtMonitor::getClosure() | Extract the closure data of a fault tolerance monitor.
TibrvFtMonitor::getGroupName() | Extract the group name of a fault tolerance monitor.
TibrvFtMonitor::getQueue() | Extract the event queue of a fault tolerance monitor.
TibrvFtMonitor::getTransport() | Extract the transport of a fault tolerance monitor.

## Related Classes

TibrvFtMember

## See Also

TibrvFtMonitorCallback

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.