Enum Class MessageFlag

java.lang.Object
java.lang.Enum<MessageFlag>
org.apache.cassandra.net.MessageFlag
All Implemented Interfaces:
Serializable, Comparable<MessageFlag>, Constable

public enum MessageFlag extends Enum<MessageFlag>
Binary message flags to be passed as flags field of Message.
  • Enum Constant Details

    • CALL_BACK_ON_FAILURE

      public static final MessageFlag CALL_BACK_ON_FAILURE
      a failure response should be sent back in case of failure
    • TRACK_REPAIRED_DATA

      public static final MessageFlag TRACK_REPAIRED_DATA
      track repaired data - see CASSANDRA-14145
    • TRACK_WARNINGS

      public static final MessageFlag TRACK_WARNINGS
      allow creating warnings or aborting queries based off query - see CASSANDRA-16850
  • Method Details

    • values

      public static MessageFlag[] 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

      public static MessageFlag valueOf(String name)
      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 name
      NullPointerException - if the argument is null