Enum ShardDataTreeCohort.State
- java.lang.Object
-
- java.lang.Enum<ShardDataTreeCohort.State>
-
- org.opendaylight.controller.cluster.datastore.ShardDataTreeCohort.State
-
- All Implemented Interfaces:
Serializable
,Comparable<ShardDataTreeCohort.State>
- Enclosing class:
- ShardDataTreeCohort
public static enum ShardDataTreeCohort.State extends Enum<ShardDataTreeCohort.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
CAN_COMMIT_COMPLETE
CAN_COMMIT_PENDING
COMMIT_PENDING
COMMITTED
FAILED
PRE_COMMIT_COMPLETE
PRE_COMMIT_PENDING
READY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShardDataTreeCohort.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static ShardDataTreeCohort.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READY
public static final ShardDataTreeCohort.State READY
-
CAN_COMMIT_PENDING
public static final ShardDataTreeCohort.State CAN_COMMIT_PENDING
-
CAN_COMMIT_COMPLETE
public static final ShardDataTreeCohort.State CAN_COMMIT_COMPLETE
-
PRE_COMMIT_PENDING
public static final ShardDataTreeCohort.State PRE_COMMIT_PENDING
-
PRE_COMMIT_COMPLETE
public static final ShardDataTreeCohort.State PRE_COMMIT_COMPLETE
-
COMMIT_PENDING
public static final ShardDataTreeCohort.State COMMIT_PENDING
-
ABORTED
public static final ShardDataTreeCohort.State ABORTED
-
COMMITTED
public static final ShardDataTreeCohort.State COMMITTED
-
FAILED
public static final ShardDataTreeCohort.State FAILED
-
-
Method Detail
-
values
public static ShardDataTreeCohort.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ShardDataTreeCohort.State c : ShardDataTreeCohort.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShardDataTreeCohort.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-