Enum Class HAServiceProtocol.HAServiceState

java.lang.Object
java.lang.Enum<HAServiceProtocol.HAServiceState>
org.apache.hadoop.ha.HAServiceProtocol.HAServiceState
All Implemented Interfaces:
Serializable, Comparable<HAServiceProtocol.HAServiceState>, Constable
Enclosing interface:
HAServiceProtocol

public static enum HAServiceProtocol.HAServiceState extends Enum<HAServiceProtocol.HAServiceState>
An HA service may be in active or standby state. During startup, it is in an unknown INITIALIZING state. During shutdown, it is in the STOPPING state and can no longer return to active/standby states.