Package org.apache.cassandra.net
Enum Class MessageFlag
- All Implemented Interfaces:
Serializable,Comparable<MessageFlag>,Constable
Binary message flags to be passed as
flags field of Message.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiona failure response should be sent back in case of failuretrack repaired data - see CASSANDRA-14145allow creating warnings or aborting queries based off query - see CASSANDRA-16850 -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageFlagReturns the enum constant of this class with the specified name.static MessageFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CALL_BACK_ON_FAILURE
a failure response should be sent back in case of failure -
TRACK_REPAIRED_DATA
track repaired data - see CASSANDRA-14145 -
TRACK_WARNINGS
allow creating warnings or aborting queries based off query - see CASSANDRA-16850
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-