public class HaNotification extends Notification
Modifier and Type | Field and Description |
---|---|
static int |
HA_INFO_BESLAVE_RESULT |
static int |
HA_INFO_IS_MASTER |
static int |
HA_INFO_IS_NONE |
static int |
HA_INFO_NOMASTER |
static int |
HA_INFO_SLAVE_ARRIVED |
static int |
HA_INFO_SLAVE_DIED |
static int |
HA_INFO_SLAVE_INITIALIZED |
Constructor and Description |
---|
HaNotification(int ha_info_type,
int nomaster,
ConfHaNode ha_node,
boolean cdb_initialized_by_copy,
int be_slave_result) |
Modifier and Type | Method and Description |
---|---|
int |
beSlaveResult() |
int |
getHAInfoType()
HA information type.
|
ConfHaNode |
getHANode() |
boolean |
isCdbInitializedByCopy() |
int |
noMasterError() |
String |
toString() |
getNotificationType
public static final int HA_INFO_NOMASTER
public static final int HA_INFO_SLAVE_DIED
public static final int HA_INFO_SLAVE_ARRIVED
public static final int HA_INFO_SLAVE_INITIALIZED
public static final int HA_INFO_IS_MASTER
public static final int HA_INFO_IS_NONE
public static final int HA_INFO_BESLAVE_RESULT
public HaNotification(int ha_info_type, int nomaster, ConfHaNode ha_node, boolean cdb_initialized_by_copy, int be_slave_result)
public String toString()
toString
in class Notification
public int getHAInfoType()
public int noMasterError()
public ConfHaNode getHANode()
public boolean isCdbInitializedByCopy()
public int beSlaveResult()