public class NDSReplicaState
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
NDSReplicaState(java.lang.String stateName,
int state)
Constructs an NDSReplicaState.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final int STATE_ON
public static final int STATE_NEW
public static final int STATE_DYING
public static final int STATE_LOCKED
public static final int STATE_CRT1
public static final int STATE_CRT2
public static final int STATE_TRANS_ON
public static final int STATE_TRANS_MOVE
public static final int STATE_TRANS_SPLIT
public static final int STATE_DEAD
public static final int STATE_BEGIN_ADD
public static final int STATE_MASTER_START
public static final int STATE_MASTER_DONE
public static final int STATE_FEDERATED
public static final int STATE_SPLIT1
public static final int STATE_SPLIT2
public static final int STATE_JOIN1
public static final int STATE_JOIN2
public static final int STATE_JOIN3
public static final int STATE_MOVE1
public static final int STATE_MOVE2
public static final int STATE_MOVE3
public static final int STATE_COUNT
public static final int STATE_UNKNOWN
public static final NDSReplicaState ON
public static final NDSReplicaState NEW
public static final NDSReplicaState DYING
public static final NDSReplicaState LOCKED
public static final NDSReplicaState TRANS_ON
public static final NDSReplicaState DEAD
public static final NDSReplicaState BEGIN_ADD
public static final NDSReplicaState SPLIT
public static final NDSReplicaState MASTER_START
public static final NDSReplicaState MASTER_DONE
public static final NDSReplicaState FEDERATED
public static final NDSReplicaState JOIN
public static final NDSReplicaState MOVE
public static final NDSReplicaState COUNT
public static final NDSReplicaState UNKNOWN
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.public java.lang.String getStateName()
public int getState()
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.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.