Enum OperationConsistencyLevel
- java.lang.Object
-
- java.lang.Enum<OperationConsistencyLevel>
-
- org.apache.activemq.artemis.core.io.OperationConsistencyLevel
-
- All Implemented Interfaces:
Serializable,Comparable<OperationConsistencyLevel>
public enum OperationConsistencyLevel extends Enum<OperationConsistencyLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLIGNORE_REPLICATIONSTORAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationConsistencyLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationConsistencyLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final OperationConsistencyLevel FULL
-
STORAGE
public static final OperationConsistencyLevel STORAGE
-
IGNORE_REPLICATION
public static final OperationConsistencyLevel IGNORE_REPLICATION
-
-
Method Detail
-
values
public static OperationConsistencyLevel[] 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 (OperationConsistencyLevel c : OperationConsistencyLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationConsistencyLevel 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
-
-