|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.admin.ns.nds.NDSReplicaState
This class stores the state key pair (String and int representation) of the NDS replica state.
| Constructor Summary | |
protected |
NDSReplicaState(java.lang.String stateName,
int state)
Constructs an NDSReplicaState. |
| Method Summary | |
static NDSReplicaState |
getNDSReplicaState(int type)
Returns NDSReplicaState based on input type. |
int |
getState()
Returns the NDS replica state in numeral form. |
java.lang.String |
getStateName()
Returns the NDS replica state in a String representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final NDSReplicaState BEGIN_ADD
public static final NDSReplicaState COUNT
public static final NDSReplicaState DEAD
public static final NDSReplicaState DYING
public static final NDSReplicaState FEDERATED
public static final NDSReplicaState JOIN
public static final NDSReplicaState LOCKED
public static final NDSReplicaState MASTER_DONE
public static final NDSReplicaState MASTER_START
public static final NDSReplicaState MOVE
public static final NDSReplicaState NEW
public static final NDSReplicaState ON
public static final NDSReplicaState SPLIT
public static final int STATE_BEGIN_ADD
public static final int STATE_COUNT
public static final int STATE_CRT1
public static final int STATE_CRT2
public static final int STATE_DEAD
public static final int STATE_DYING
public static final int STATE_FEDERATED
public static final int STATE_JOIN1
public static final int STATE_JOIN2
public static final int STATE_JOIN3
public static final int STATE_LOCKED
public static final int STATE_MASTER_DONE
public static final int STATE_MASTER_START
public static final int STATE_MOVE1
public static final int STATE_MOVE2
public static final int STATE_MOVE3
public static final int STATE_NEW
public static final int STATE_ON
public static final int STATE_SPLIT1
public static final int STATE_SPLIT2
public static final int STATE_TRANS_MOVE
public static final int STATE_TRANS_ON
public static final int STATE_TRANS_SPLIT
public static final int STATE_UNKNOWN
public static final NDSReplicaState TRANS_ON
public static final NDSReplicaState UNKNOWN
| Constructor Detail |
protected NDSReplicaState(java.lang.String stateName,
int state)
stateName - A String representing the state. The strings are defined in
ndsResourceBundle class.state - An int representation of the state. The ints are defined in this class.| Method Detail |
public static NDSReplicaState getNDSReplicaState(int type)
Use this method to convert int type to its corresponding NDSReplicaState.
type - The int representation of the NDS replica state.
public int getState()
public java.lang.String getStateName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||