Package org.infinispan.server.hotrod
Enum ProtocolFlag
- java.lang.Object
-
- java.lang.Enum<ProtocolFlag>
-
- org.infinispan.server.hotrod.ProtocolFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<ProtocolFlag>
public enum ProtocolFlag extends Enum<ProtocolFlag>
- Author:
- Galder ZamarreƱo
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DefaultLifespan
DefaultMaxIdle
ForceReturnPreviousValue
NoFlag
SkipCacheLoader
SkipIndexing
SkipListenerNotification
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getValue()
static ProtocolFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProtocolFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoFlag
public static final ProtocolFlag NoFlag
-
ForceReturnPreviousValue
public static final ProtocolFlag ForceReturnPreviousValue
-
DefaultLifespan
public static final ProtocolFlag DefaultLifespan
-
DefaultMaxIdle
public static final ProtocolFlag DefaultMaxIdle
-
SkipCacheLoader
public static final ProtocolFlag SkipCacheLoader
-
SkipIndexing
public static final ProtocolFlag SkipIndexing
-
SkipListenerNotification
public static final ProtocolFlag SkipListenerNotification
-
-
Method Detail
-
values
public static ProtocolFlag[] 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 (ProtocolFlag c : ProtocolFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtocolFlag 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
-
getValue
public byte getValue()
-
-