SDSTakeoverState Category

The global constants for the Synchronized Database Service (SDS) takeover state are listed in the following table.

Global Constant Integer Value
SDS_HostileTakeoverInitiated 4
SDS_PrimaryRoleActive 1
SDS_PrimaryRoleRelinquished 11
SDS_RelinquishPrimaryRole 5
SDS_RelinquishSecondaryRole 6
SDS_SecondaryRoleActive 2
SDS_SecondaryRoleRelinquished 12
SDS_TakeoverAbandoned 8
SDS_TakeoverConditional 1
SDS_TakeoverFailure 7
SDS_TakeoverForced 2
SDS_TakeoverInitiated 3
SDS_WaitForQuietPoint 9
SDS_WaitForTakeoverDisposition 10

These values are used as the values contained in the userInfo parameter for a role change progress event notification. For details, see "Detecting SDS Role Changes", in Chapter 10 of the JADE Developer’s Reference. See also the sdsInitiateTakeover method of the JadeDatabaseAdmin class.