Open topic with navigation

TIBCO Rendezvous® 8.7.0

# 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.

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.