Package org.apache.cassandra.net
Enum OutboundConnectionSettings.Framing
- java.lang.Object
-
- java.lang.Enum<OutboundConnectionSettings.Framing>
-
- org.apache.cassandra.net.OutboundConnectionSettings.Framing
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OutboundConnectionSettings.Framing>
- Enclosing class:
- OutboundConnectionSettings
public static enum OutboundConnectionSettings.Framing extends java.lang.Enum<OutboundConnectionSettings.Framing>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRC
LZ4
UNPROTECTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutboundConnectionSettings.Framing
forId(int id)
static OutboundConnectionSettings.Framing
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OutboundConnectionSettings.Framing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNPROTECTED
public static final OutboundConnectionSettings.Framing UNPROTECTED
-
LZ4
public static final OutboundConnectionSettings.Framing LZ4
-
CRC
public static final OutboundConnectionSettings.Framing CRC
-
-
Method Detail
-
values
public static OutboundConnectionSettings.Framing[] 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 (OutboundConnectionSettings.Framing c : OutboundConnectionSettings.Framing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutboundConnectionSettings.Framing valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forId
public static OutboundConnectionSettings.Framing forId(int id)
-
-