TibrvFtMember

Class

Declaration

class com.tibco.tibrv.TibrvFtMember
  extends TibrvEvent

Purpose

Represent membership in a fault tolerance group.

Remarks

Upon creating this object, the program joins a fault tolerance group.

By destroying a member object, the program withdraws its membership in 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 member object automatically destroys the member object as well.

Constants

Each of these constant fields is a token designating a command to a fault tolerance callback method. The program’s callback method receives one of these tokens in a parameter, and interprets it as an instruction from the Rendezvous fault tolerance software as described in this table (see also, Fault Tolerance Callback Actions in TIBCO Rendezvous Concepts).

Constant

Description

TibrvFtMember.PREPARE_TO_ACTIVATE

Prepare to activate (hint).

Rendezvous fault tolerance software passes this token to the callback method to instruct the program to make itself ready to activate on short notice—so that if the callback method subsequently receives the instruction to activate, it can do so without delay.

This token is a hint, indicating that the program might soon receive an instruction to activate. It does not guarantee that an activate instruction will follow, nor that any minimum time will elapse before an activate instruction follows.

TibrvFtMember.ACTIVATE

Activate immediately.

Rendezvous fault tolerance software passes this token to the callback method to instruct the program to activate.

TibrvFtMember.DEACTIVATE

Deactivate immediately.

Rendezvous fault tolerance software passes this token to the callback method to instruct the program to deactivate.

Method

Description

TibrvFtMember()

Create a member of a fault tolerance group.

TibrvFtMember.destroy()

Destroy a member of a fault tolerance group.

TibrvFtMember.getActivationInterval()

Extract the activation interval of a fault tolerance member.

TibrvFtMember.getActiveGoal()

Extract the active goal of a fault tolerance member.

TibrvFtMember.getGroupName()

Extract the group name of a fault tolerance member.

TibrvFtMember.getHeartbeatInterval()

Extract the heartbeat interval of a fault tolerance member.

TibrvFtMember.getPreparationInterval()

Extract the preparation interval of a fault tolerance member.

TibrvFtMember.getQueue()

Extract the event queue of a fault tolerance member.

TibrvFtMember.getTransport()

Extract the transport of a fault tolerance member.

TibrvFtMember.getWeight()

Extract the weight of a fault tolerance member.

TibrvFtMember.setWeight()

Change the weight of a fault tolerance member within its group.

Inherited Methods

TibrvEvent.getClosure()

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

TibrvFtMonitor

See Also

TibrvFtMemberCallback