![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
• getQueueLength, which takes no arguments and returns the queue length.
• getFTStatus, which takes no arguments and returns the fault-tolerant status (primary or secondary) of the application.
• makePrimary, which takes no arguments and sets the fault-tolerant status of the application instance to primary.
• makeSecondary, which takes no arguments and sets the fault-tolerant status of the application instance to secondary.
• The first rule has as its data source the getQueueLength method. It raises an alert if the queue length is greater than 200.
• The second rule has as its data source the getFTStatus method. It sends a notification each time there is a fault-tolerant state transition.From the TIBCO Hawk WebConsole, operators can control the fault-tolerant state of any instance of the application by invoking the makePrimary or makeSecondary methods.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |