Package com.tailf.notif
Class HaNotification
Object
com.tailf.notif.Notification
com.tailf.notif.HaNotification
Data structure for High Availability notifications.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionHaNotification
(int ha_info_type, int noPrimary, ConfHaNode haNode, boolean cdb_initialized_by_copy, int beSecondaryResult) -
Method Summary
Methods inherited from class com.tailf.notif.Notification
getNotificationType
-
Field Details
-
HA_INFO_NOPRIMARY
public static final int HA_INFO_NOPRIMARY- See Also:
-
HA_INFO_SECONDARY_DIED
public static final int HA_INFO_SECONDARY_DIED- See Also:
-
HA_INFO_SECONDARY_ARRIVED
public static final int HA_INFO_SECONDARY_ARRIVED- See Also:
-
HA_INFO_SECONDARY_INITIALIZED
public static final int HA_INFO_SECONDARY_INITIALIZED- See Also:
-
HA_INFO_IS_PRIMARY
public static final int HA_INFO_IS_PRIMARY- See Also:
-
HA_INFO_IS_NONE
public static final int HA_INFO_IS_NONE- See Also:
-
HA_INFO_BESECONDARY_RESULT
public static final int HA_INFO_BESECONDARY_RESULT- See Also:
-
-
Constructor Details
-
HaNotification
public HaNotification(int ha_info_type, int noPrimary, ConfHaNode haNode, boolean cdb_initialized_by_copy, int beSecondaryResult)
-
-
Method Details
-
toString
- Overrides:
toString
in classNotification
-
getHAInfoType
public int getHAInfoType() -
noPrimaryError
public int noPrimaryError() -
getHANode
-
isCdbInitializedByCopy
public boolean isCdbInitializedByCopy() -
beSecondaryResult
public int beSecondaryResult()
-