Fault Tolerance Callback Actions

Fault tolerance callback functions receive an action argument—one of three tokens, which instruct the callback function to behave in one of three ways:

ACTIVATE

This action token instructs the callback function to switch the member process into active mode.

DEACTIVATE

This action token instructs the callback function to switch the member process into inactive mode.

PREPARE_TO_ACTIVATE

This action token is a hint that Rendezvous fault tolerance software might soon issue an instruction to activate. It instructs the callback function to prepare for possible activation by doing any time-consuming steps that can be done before the actual order to activate.

Remember that the prepare-to-activate hint is exactly that—a hint. Several circumstances might later render activation unnecessary.

The names of the tokens vary slightly among the different programming languages.

Fault Tolerance Actions

C

tibrvftAction

C++

tibrvftAction

Java

Tokens are defined as constant fields of TibrvFtMember.

.NET

ActionToken enumerates the tokens.