TibrvFtMonitor

Class

Declaration

class com.tibco.tibrv.TibrvFtMonitor
  extends TibrvEvent

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.

Programs must destroy instances of this class. Rendezvous software keeps internal references to these objects, so the Java garbage collector does not delete them automatically.

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

Method

Description

TibrvFtMonitor()

Monitor a fault tolerance group.

TibrvFtMonitor.destroy()

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

TibrvFtMonitor.getGroupName()

Extract the group name of a fault tolerance monitor.

TibrvFtMonitor.getTransport()

Extract the transport of a fault tolerance monitor.

Inherited Methods

TibrvEvent.getClosure()

TibrvEvent.getQueue()

TibrvEvent.isValid()

java.lang.Object.equals

java.lang.Object.getClass

java.lang.Object.hashCode

java.lang.Object.notify

java.lang.Object.notifyAll

java.lang.Object.toString (override)

java.lang.Object.wait

Related Classes

TibrvEvent

TibrvFtMember

See Also

TibrvFtMonitorCallback