FTGroupMonitor

Class

Superclasses

System.Object
  FTGroupMonitor

Visual Basic

Public Class FTGroupMonitor

C#

public class FTGroupMonitor

Purpose

Monitor a fault tolerance group.

Remarks

Upon creating this object, the program 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 method FTGroupMonitor.Destroy destroys a monitor explicitly and immediately. You can also destroy a monitor implicitly by deleting all references to it, but the garbage collector might introduce a delay before it destroys the object.

Destroying the queue or transport of a monitor automatically destroys the monitor as well.

Member

Description

 

Public Instance Properties

GroupName string

The instance monitors the fault tolerant group with this name.

Get

Transport

Transport

The group monitor uses this transport to receive fault tolerance internal protocol messages (such as heartbeat messages).

Get

Public Events

GroupStateChanged

GroupStateChangedEventHandler

The number of active members in a group changed.

Method

Description

Page

FTGroupMonitor

Monitor a fault tolerance group.

FTGroupMonitor

FTGroupMonitor.Destroy

Stop monitoring a fault tolerance group, and free associated resources.

FTGroupMonitor.Destroy

Related Classes

FTGroupMember

See Also

GroupStateChangedEventHandler