Enum Class ParamType

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

public enum ParamType extends Enum<ParamType>
Type names and serializers for various parameters that can be put in Message params map. It should be safe to add new params without bumping messaging version - Message serializer will skip over any params it doesn't recognise. Please don't add boolean params here. Extend and use MessageFlag instead. Do not re-use old, nor fill gaps in the sequence of, ids. New IDs must be higher.
  • Enum Constant Details

    • FORWARD_TO

      public static final ParamType FORWARD_TO
    • RESPOND_TO

      public static final ParamType RESPOND_TO
    • TRACE_SESSION

      public static final ParamType TRACE_SESSION
    • TRACE_TYPE

      public static final ParamType TRACE_TYPE
    • TOMBSTONE_FAIL

      public static final ParamType TOMBSTONE_FAIL
    • TOMBSTONE_WARNING

      public static final ParamType TOMBSTONE_WARNING
    • LOCAL_READ_SIZE_FAIL

      public static final ParamType LOCAL_READ_SIZE_FAIL
    • LOCAL_READ_SIZE_WARN

      public static final ParamType LOCAL_READ_SIZE_WARN
    • ROW_INDEX_READ_SIZE_FAIL

      public static final ParamType ROW_INDEX_READ_SIZE_FAIL
    • ROW_INDEX_READ_SIZE_WARN

      public static final ParamType ROW_INDEX_READ_SIZE_WARN
    • CUSTOM_MAP

      public static final ParamType CUSTOM_MAP
    • SNAPSHOT_RANGES

      public static final ParamType SNAPSHOT_RANGES
    • TOO_MANY_REFERENCED_INDEXES_WARN

      public static final ParamType TOO_MANY_REFERENCED_INDEXES_WARN
    • TOO_MANY_REFERENCED_INDEXES_FAIL

      public static final ParamType TOO_MANY_REFERENCED_INDEXES_FAIL
  • Method Details

    • values

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